Hassan Schroeder wrote: > On Sat, Aug 14, 2010 at 6:46 AM, Manu Lorenzo <li...@ruby-forum.com> > wrote: > >>> It means you haven't set @user to anything (or inadvertently set it to >>> nil); look at your controller code. > >> Well, this is my code: > >>> NoMethodError in User#index > > Where is the method for `index` ? > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > twitter: @hassan
Only this: def index @title = "RailsSpace User Hub" end -- 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.