PALMINFACE Forgot to add has_many :notes in my user model.
On Feb 7, 5:11 pm, Hesham <[email protected]> wrote: > I have the following in my routes file: > > resources :users, :path => 'ronin' do > resources :notes, :path => 'moras' > resources :collections, :path => 'haiku' > end > > If use user.collections I get all the collections owned by the user. > How ever if use user.notes I get > > NoMethodError: undefined method `notes' for > > What am I missing here? -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

