Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1208 from dasch/patch-1

Remove superfluous whitespace from ActiveModel::SecurePassword
  • Loading branch information...
commit a0eee5f3f293fe0bfcda89f69ebfc6da7176349d 2 parents 1ab556f + 93659a3
@josevalim josevalim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/lib/active_model/secure_password.rb
View
2  activemodel/lib/active_model/secure_password.rb
@@ -30,7 +30,7 @@ module ClassMethods
# User.find_by_name("david").try(:authenticate, "notright") # => nil
# User.find_by_name("david").try(:authenticate, "mUc3m00RsqyRe") # => user
def has_secure_password
- attr_reader :password
+ attr_reader :password
validates_confirmation_of :password
validates_presence_of :password_digest
Please sign in to comment.
Something went wrong with that request. Please try again.