diff options
author | Daniel Schierbeck <daniel.schierbeck@gmail.com> | 2011-05-22 04:02:47 -0700 |
---|---|---|
committer | Daniel Schierbeck <daniel.schierbeck@gmail.com> | 2011-05-22 04:02:47 -0700 |
commit | 93659a3166830659cc315c55b0ae9acd57eca1b9 (patch) | |
tree | 70b08f0d83127e60e8e87def7ef1db3a20dadb86 /activemodel | |
parent | 1ab556fa89a1cac05df0442d3c30c71739129e91 (diff) | |
download | rails-93659a3166830659cc315c55b0ae9acd57eca1b9.tar.gz rails-93659a3166830659cc315c55b0ae9acd57eca1b9.tar.bz2 rails-93659a3166830659cc315c55b0ae9acd57eca1b9.zip |
Remove superfluous whitespace from ActiveModel::SecurePassword
Only one space is needed, yo!
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model/secure_password.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/secure_password.rb b/activemodel/lib/active_model/secure_password.rb index ee94ad66cf..63380d6ffd 100644 --- a/activemodel/lib/active_model/secure_password.rb +++ b/activemodel/lib/active_model/secure_password.rb @@ -30,7 +30,7 @@ module ActiveModel # 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 |