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
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
User.find(session[:user_id]).
On Jul 18, 12:00 pm, Justin To [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs