Module | Devise::Models::Confirmable::ClassMethods |
In: |
lib/devise/models/confirmable.rb
|
Find a user by its confirmation token and try to confirm it. If no user is found, returns a new user with an error. If the user is already confirmed, create an error for the user Options must have the confirmation_token