Module Devise::Models::Recoverable::ClassMethods
In: lib/devise/models/recoverable.rb

Methods

Public Instance methods

Attempt to find a user by its reset_password_token to reset its password. If a user is found and token is still valid, reset its password and automatically try saving the record. If not user is found, returns a new user containing an error in reset_password_token attribute. Attributes must contain reset_password_token, password and confirmation

Generate a token checking if one does not already exist in the database.

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 with an email not found error. Attributes must contain the user email

[Validate]