Xavier Noria wrote: > On Thu, Feb 25, 2010 at 7:18 AM, Tony Augustine <li...@ruby-forum.com> > wrote: > >> >> Extracted source (around line #13): >> >> 10: � � <th>Hobby</th> >> 11: � </tr> >> 12: >> 13: <% @user.each do |user| %> > > Note you put the collection in @users, plural. The variable @user is > unset and thus nil, hence the error. You need to replace @user with > @users in the view.
thanks a lot for replying to ma silly doubts an wy cya -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.