module Devise::Models::Confirmable::ClassMethods

def send_confirmation_instructions(attributes={})

Options must contain the user email
with an email not found error.
confirmation 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
def send_confirmation_instructions(attributes={})
  confirmable = find_or_initialize_with_error_by(:email, attributes[:email], :not_found)
  confirmable.resend_confirmation_token unless confirmable.new_record?
  confirmable
end