Justin To | 18 Jul 18:00

Uknown ActiveRecord method


 NoMethodError in Auth userController#new_requirement

undefined method `find_by_id' for #<Class:0x4628d34>

Method in application controller: User.find_by_id(session[:user_id])

id is one of the columns of my users table...

What could be wrong?

Thanks
--

-- 
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-talk@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane