It's actually now baked into rails itself. You can declare
has_secure_password
in the model and you're away. has_secure_password
in the model and you're away.Clarification: has_secure_password does NOT mean you choose between secure or non-secure password, it just mean "I want a password on this model, and better make it secure guys!"