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?



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.

| Privacy Policy | Terms of Service | Remote Ruby Jobs