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 mail.yahoo.com
Could you give us your log output? On 4/1/06, andre hartawan <total_sc@yahoo.com> wrote:> 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 > mail.yahoo.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails >
the error command "java.lang.NullPointerException" --- Akbar <akbarhome@gmail.com> wrote:> Could you give us your log output? > > On 4/1/06, andre hartawan <total_sc@yahoo.com> > wrote: > > 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 > > mail.yahoo.com > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > > lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails >__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around mail.yahoo.com
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 mail.yahoo.com
On 4/3/06, andre hartawan <total_sc@yahoo.com> wrote:> i have install One-Click Ruby Installer for Windows. > do i need run "gem install mysql" or not. > > please helpThe 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: tmtm.org/en/ruby/mysql/README_en.html If you are running Ruby on Rails, it comes with the pure Ruby mysql adapter. Curt
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 Hibbs <ml.chibbs@gmail.com> wrote:> On 4/3/06, andre hartawan <total_sc@yahoo.com> > 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: > > tmtm.org/en/ruby/mysql/README_en.html > > If you are running Ruby on Rails, it comes with the > pure Ruby mysql adapter. > > Curt > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails >__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around mail.yahoo.com
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 On 4/6/06, andre hartawan <total_sc@yahoo.com> wrote:> 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 Hibbs <ml.chibbs@gmail.com> wrote: > > > On 4/3/06, andre hartawan <total_sc@yahoo.com> > > 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: > > > > tmtm.org/en/ruby/mysql/README_en.html > > > > If you are running Ruby on Rails, it comes with the > > pure Ruby mysql adapter. > > > > Curt > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > lists.rubyonrails.org/mailman/listinfo/rails > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > mail.yahoo.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails >
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 Hibbs <ml.chibbs@gmail.com> wrote:> 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 > > On 4/6/06, andre hartawan <total_sc@yahoo.com> > wrote: > > 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 Hibbs <ml.chibbs@gmail.com> wrote: > > > > > On 4/3/06, andre hartawan <total_sc@yahoo.com> > > > 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: > > > > > > > tmtm.org/en/ruby/mysql/README_en.html > > > > > > If you are running Ruby on Rails, it comes with > the > > > pure Ruby mysql adapter. > > > > > > Curt > > > _______________________________________________ > > > Rails mailing list > > > Rails@lists.rubyonrails.org > > > > lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > mail.yahoo.com > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > > lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails >__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around mail.yahoo.com