R – Authlogic: getting an undefined method `password’ for #

authenticationauthlogicauthorizationpasswordsruby-on-rails

I can't seem to get my User model in Authlogic to understand the 'password' method even though I added "acts_as_authentic" to the model. This problem was also reported on the Authlogic lighthouse, but no one described how they fixed it:

http://binarylogic.lighthouseapp.com/projects/18752/tickets/128-undefined-method-password-on-rails-231#ticket-128-9

The user table exists with all the required fields, and the controllers and everything else is definitely following the tutorial to the letter.

Anyone know what could be wrong?

(Oh, I'm running Rails 2.3.3, Authlogic 2.1.1)

Best Answer

I misspelled "crypted_password" as "crypted_passwond". Arg!

For all those other people out there, be sure you have all the required columns in your database.

Related Topic