David J. Hamilton wrote: >> Hi Tim, >> I implemented your changes. Unfortunately, I still got the same error. I >> copied both the User and Jobs models, as well as the schema.rb file. >> >> Please let me know your thoughts. >> >> http://pastie.org/1116870 > > You have a minor typo in index.html.erb > > <% unless @user.jobs == nil %> > <% @user.jobs each do |job| %> > <%= job.Title %> > <% end %> > <% end %> > > You want `[email protected]` not `[email protected] each`. Note the missing > dot between "jobs" and "each". > > -- > med v�nlig h�lsning > David J. Hamilton
Unbelievable. Thanks David, that did it. Best, Patrick -- 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 [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.

