Method: Devise::Models::Confirmable#after_confirmation

Defined in:
lib/devise/models/confirmable.rb

#after_confirmationObject (protected)

A callback initiated after successfully confirming. This can be used to insert your own logic that is only run after the user successfully confirms.

Example:

def after_confirmation
  self.update_attribute(:invite_code, nil)
end

308
309
# File 'lib/devise/models/confirmable.rb', line 308

def after_confirmation
end