Permalink
Browse files

Merge pull request #1208 from dasch/patch-1

Remove superfluous whitespace from ActiveModel::SecurePassword
  • Loading branch information...
josevalim committed May 22, 2011
2 parents 1ab556f + 93659a3 commit a0eee5f3f293fe0bfcda89f69ebfc6da7176349d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit a0eee5f

Please sign in to comment.