diff --git a/lib/devise/models/database_authenticatable.rb b/lib/devise/models/database_authenticatable.rb index a0a0f0d8..7712544d 100644 --- a/lib/devise/models/database_authenticatable.rb +++ b/lib/devise/models/database_authenticatable.rb @@ -76,7 +76,7 @@ module Devise end # Updates record attributes without asking for the current password. - # Never allows to change the current password. If you are using this + # Never allows a change to the current password. If you are using this # method, you should probably override this method to protect other # attributes you would not like to be updated without a password. # diff --git a/lib/devise/models/recoverable.rb b/lib/devise/models/recoverable.rb index 0bed681e..74f943a6 100644 --- a/lib/devise/models/recoverable.rb +++ b/lib/devise/models/recoverable.rb @@ -101,10 +101,10 @@ module Devise end module ClassMethods - # Attempt to find a user by its email. If a record is found, send new - # password instructions to it. If not user is found, returns a new user + # Attempt to find a user by it's email. If a record is found, send new + # password instructions to it. If user is not found, returns a new user # with an email not found error. - # Attributes must contain the user email + # Attributes must contain the user's email def send_reset_password_instructions(attributes={}) recoverable = find_or_initialize_with_errors(reset_password_keys, attributes, :not_found) recoverable.send_reset_password_instructions if recoverable.persisted?