module Devise::Models::Recoverable::ClassMethods
def send_reset_password_instructions(attributes={})
with an email not found error.
password instructions to it. If user is not found, returns a new user
Attempt to find a user by its email. If a record is found, send new
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? recoverable end