git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Commit 91b34044e23625a6600866de5d7369d1a3c914e7

mention has_secure_password in README.

Chad Jolly committed on 1/24/2013, 7:51:40 PM
Parent: ef50fe960d4dc50eb1df76fbc18a312a43e5c07d

Files changed

README.mdchanged
README.mdView
@@ -33,8 +33,12 @@
3333 * Any 1.8 or 1.9 ruby on a BSD/OSX/Linux system with a compiler
3434
3535 ## How to use `bcrypt()` in your Rails application
3636
37+*Note*: Rails versions >= 3 ship with `ActiveModel::SecurePassword` which uses bcrypt-ruby.
38+`has_secure_password` [docs](http://api.rubyonrails.org/classes/ActiveModel/SecurePassword/ClassMethods.html#method-i-has_secure_password)
39+implements a similar authentication strategy to the code below.
40+
3741 ### The _User_ model
3842
3943 require 'bcrypt'
4044

Built with git-ssb-web