On Sun, Feb 22, 2009 at 3:27 PM, Michael M.
That seems the most likely problem to me. If this doesn’t solve your
problem, could you post the point at which you initialise/declare your
No, you should be aware that this is pretty obviously an ActiveRecord
object in a Rails app. The accessor methods for database fields are
generated automagically from the database schema.
It’s also probably using either the restful_authentication plugin, or
older brother acts_as_authenticated, both of which normally use
crypted_password, instead of hashed_password for the field name,
beleive that this can be overridden when the authentication code is
I’m pretty sure that Hassan S. has the right diagnosis.
undefined local variable or method `hashed_password’ for #<User id: nil,
login: “”, email: “”, hashed_passwd: nil>
This indicates that the database column is named hashed_passwd NOT
hashed_password, so ActiveRecord isn’t providing a method with the name
This is the kind of question which would probably be answered much more
quickly, and with less confusion on the rails mailing list.