diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-12-18 13:38:05 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-12-18 13:38:05 -0800 |
commit | bcf4e4f2b02157cecc1f1727a95cdf5bfa471771 (patch) | |
tree | b38232fb127a25817aa25d3b8976d218948119e3 /activemodel/lib/active_model.rb | |
parent | d9b732fcadc001b6757e648761acf97833827b58 (diff) | |
download | rails-bcf4e4f2b02157cecc1f1727a95cdf5bfa471771.tar.gz rails-bcf4e4f2b02157cecc1f1727a95cdf5bfa471771.tar.bz2 rails-bcf4e4f2b02157cecc1f1727a95cdf5bfa471771.zip |
Added ActiveRecord::Base#has_secure_password (via ActiveModel::SecurePassword) to encapsulate dead-simple password usage with SHA2 encryption and salting
Diffstat (limited to 'activemodel/lib/active_model.rb')
-rw-r--r-- | activemodel/lib/active_model.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/lib/active_model.rb b/activemodel/lib/active_model.rb index be0f24ff92..dd6ee058cc 100644 --- a/activemodel/lib/active_model.rb +++ b/activemodel/lib/active_model.rb @@ -42,6 +42,7 @@ module ActiveModel autoload :Naming autoload :Observer, 'active_model/observing' autoload :Observing + autoload :SecurePassword autoload :Serialization autoload :TestCase autoload :Translation |