module Devise::Models::Lockable::ClassMethods

def send_unlock_instructions(attributes={})

Options must contain the user email
with an email not found error.
unlock instructions to it. If not user is found, returns a new user
Attempt to find a user by its email. If a record is found, send new
def send_unlock_instructions(attributes={})
  lockable = find_or_initialize_with_errors(unlock_keys, attributes, :not_found)
  lockable.resend_unlock_token if lockable.persisted?
  lockable
end