diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-10-17 19:14:29 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-10-17 19:14:29 +0530 |
commit | 826a85069627060c11baf932423702b1228dd4df (patch) | |
tree | fe64e698319b075ba11eca0dde01fa834485e837 | |
parent | 2f87b724d2eaf1e9f67a1827ca7cb140fbbd4f95 (diff) | |
download | rails-826a85069627060c11baf932423702b1228dd4df.tar.gz rails-826a85069627060c11baf932423702b1228dd4df.tar.bz2 rails-826a85069627060c11baf932423702b1228dd4df.zip |
fix a typo and slightly reword has_secure_password comment
-rw-r--r-- | activemodel/lib/active_model/secure_password.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/secure_password.rb b/activemodel/lib/active_model/secure_password.rb index 7a109d9a52..db78864c67 100644 --- a/activemodel/lib/active_model/secure_password.rb +++ b/activemodel/lib/active_model/secure_password.rb @@ -32,8 +32,8 @@ module ActiveModel # User.find_by_name("david").try(:authenticate, "notright") # => nil # User.find_by_name("david").try(:authenticate, "mUc3m00RsqyRe") # => user def has_secure_password - # Load bcrypt-ruby only when has_secured_password is used to avoid make ActiveModel - # (and by extension the entire framework) dependent on a binary library. + # Load bcrypt-ruby only when has_secure_password is used. + # This is to avoid ActiveModel (and by extension the entire framework) being dependent on a binary library. gem 'bcrypt-ruby', '~> 3.0.0' require 'bcrypt' |