Hi, I get this error on step 9 of the Getting Started tutorial: NoMethodError in PostsController#index undefined method `accepts_nested_attributes_for'' for #<Class: 0x23fbc48> Does someone know if it''s a bug? Cheers, Beren --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor
2009-Feb-24 09:01 UTC
Re: Error going through the "Getting Started" tutorial
On Tue, Feb 24, 2009 at 12:21 AM, Beren <djberen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > I get this error on step 9 of the Getting Started tutorial: > > NoMethodError in PostsController#index > > undefined method `accepts_nested_attributes_for'' for #<Class: > 0x23fbc48> > > Does someone know if it''s a bug? > > Cheers, > > Beren >Hi Beren, can you provide some details about your development environment? For example, OS, ruby -v, gem -v, rails -v. -Conrad --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
This is an edge rails feature AFAIK, supposed to be in 2.3 On Feb 24, 3:21 am, Beren <djbe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > I get this error on step 9 of the Getting Started tutorial: > > NoMethodError in PostsController#index > > undefined method `accepts_nested_attributes_for'' for #<Class: > 0x23fbc48> > > Does someone know if it''s a bug? > > Cheers, > > Beren--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---