diff options
author | Unathi Chonco <choncou@Unathis-MacBook-Pro.local> | 2016-10-12 09:01:57 +0800 |
---|---|---|
committer | Unathi Chonco <choncou@Unathis-MacBook-Pro.local> | 2016-10-12 09:01:57 +0800 |
commit | 9b63bf1dfda36c61802165b2683761d2bb0d2110 (patch) | |
tree | 0744ede2fb6aca01e23af43a7b17c96249ad79b2 /activemodel/test/models/contact.rb | |
parent | 86a48b4da3cbd925d30b0fbe472edbda7171ea9e (diff) | |
download | rails-9b63bf1dfda36c61802165b2683761d2bb0d2110.tar.gz rails-9b63bf1dfda36c61802165b2683761d2bb0d2110.tar.bz2 rails-9b63bf1dfda36c61802165b2683761d2bb0d2110.zip |
Remove method for regenerating a token, and update `#authenticate`.
This change now creates a method `#authenticate_XXX` where XXX is
the configured attribute name on `#has_secure_password`. `#authenticate`
is now an alias to this method when the attribute name is the default
'password'
Diffstat (limited to 'activemodel/test/models/contact.rb')
0 files changed, 0 insertions, 0 deletions