mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #1208 from dasch/patch-1
Remove superfluous whitespace from ActiveModel::SecurePassword
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user