From 93659a3166830659cc315c55b0ae9acd57eca1b9 Mon Sep 17 00:00:00 2001 From: Daniel Schierbeck Date: Sun, 22 May 2011 04:02:47 -0700 Subject: Remove superfluous whitespace from ActiveModel::SecurePassword Only one space is needed, yo! --- activemodel/lib/active_model/secure_password.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib') 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 -- cgit v1.2.3