I''ve tried running the migration from p. 76 of the 2nd edition (its supposed to populate the table with data). But it gives me this error: undefined method `create'' for #<ActiveRecord::ConnectionAdapters::MysqlAdapter:0x357170c> I''m not running edge rails and I know that earlier in the book one of the examples required this. Could this be my problem. Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi Seth, In order to get everything to work like the tutorial said, I did have to use edge rails. I''m not sure if it''s the solution to this problem or not, though. I''d suggest you go ahead and get edge rails, just for this tutorial project. Just do a rake rails:freeze:edge at the top level of the depot app. This will just stick the latest version of rails into your vendor/rails directory. It shouldn''t affect anything else. On 9/26/06, Seth <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I''ve tried running the migration from p. 76 of the 2nd edition (its > supposed to populate the table with data). But it gives me this error: > > undefined method `create'' for > #<ActiveRecord::ConnectionAdapters::MysqlAdapter:0x357170c> > > I''m not running edge rails and I know that earlier in the book one of > the examples required this. Could this be my problem. > > Thanks > > -- > Posted via http://www.ruby-forum.com/. > > > >-- Terry (TAD) Donaghe http://www.rubynoob.com http://www.tadspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Thanks for the help. I don''t know a thing about Subversion and all the tutorials on setting up Edge rails assume that I do. What do I need to do in order to use Subversion to get Edge Rails? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---