Permalink
Browse files

fix a typo and slightly reword has_secure_password comment

  • Loading branch information...
1 parent 2f87b72 commit 826a85069627060c11baf932423702b1228dd4df @vijaydev vijaydev committed Oct 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model/secure_password.rb
@@ -32,8 +32,8 @@ module ClassMethods
# 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'

0 comments on commit 826a850

Please sign in to comment.