has_secure_password
This is a Rails 2 plugin for "has_secure_password" as currently provided in Rails 4.
All code was copied and modified from:
https://github.com/rails/rails/blob/master/activemodel/lib/active_model/secure_password.rb
and
https://github.com/rails/rails/tree/master/activemodel/test
Installation
Add the following to environment.rb
or your Gemfile:
gem "has_secure_password"
Usage
Use as you would the Rails has_secure_password mixin:
class User
has_secure_password
end
Status
Credits
Copyright (c) 2013 Larry Halff, released under the MIT license. Most portions Copyright (c) 2004-2013 David Heinemeier Hansson, released under the MIT license.