Need help(raidrails)


#1

I have installed radRails V0.6.1 When i tried to press
ctrl+backspace in editor ,the error come up “Ruby
Content Assist did not complete normaly.please see the
log for moreinformation.”

what sould i do to solve this error ?

thanks


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


#2

Could you give us your log output?


#3

the error command “java.lang.NullPointerException”

— Akbar removed_email_address@domain.invalid wrote:


Rails mailing list
removed_email_address@domain.invalid

http://lists.rubyonrails.org/mailman/listinfo/rails


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


#4

On 4/3/06, andre hartawan removed_email_address@domain.invalid wrote:

i have install One-Click Ruby Installer for Windows.
do i need run “gem install mysql” or not.

please help

The one-click installer does not include a mysql adapter.

“gem install mysql” will attempt to install the C-base mysql adapter.
To be successful you need to have a C compiler and the mysql sdk
installed.

Alternatively, you can install the pure Ruby mysql adapter, instead:

http://www.tmtm.org/en/ruby/mysql/README_en.html

If you are running Ruby on Rails, it comes with the pure Ruby mysql
adapter.

Curt


#5

i have install One-Click Ruby Installer for Windows.
do i need run “gem install mysql” or not.

please help


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


#6

Yes, you can tell Rails what column name to use instead of letting it
default to “id”. You’ll have to do a search or look it up because its
not something I do and I don’t know off the top of my head.

Curt


#7

thanx for the info ,
buit i have another question.
i have read few e-book about rails and i tried some
exercise,but all table created in exercise always have
increment field (ID),can i change the increment field
with another primary key let’s say (account_number).
I tried another exercise and i have my own table with
key account_number and i didn’t put increment
field,when i tried clik ‘show’ link the error come up
‘couldn’t find Btb without an ID’ (btb table name)
are there any trick to solve this problem ?

— Curt H. removed_email_address@domain.invalid wrote:

If you are running Ruby on Rails, it comes with the
pure Ruby mysql adapter.

Curt


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


#8

can we put two table or more in one form,i mean can we
proced a transaction with more than one table in a
form,could you give an example ?

thnx
andre

— Curt H. removed_email_address@domain.invalid wrote:

wrote:

I tried another exercise and i have my own table

wrote:
“gem install mysql” will attempt to install the

Rails mailing list
removed_email_address@domain.invalid

http://lists.rubyonrails.org/mailman/listinfo/rails


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com