module Authlogic::ActsAsAuthentic::PersistenceToken::Methods::ClassMethods
Class level methods for the persistence token.
Public Instance Methods
forget_all()
click to toggle source
Resets ALL persistence tokens in the database, which will require all users to re-authenticate.
# File lib/authlogic/acts_as_authentic/persistence_token.rb, line 35 def forget_all # Paginate these to save on memory find_each(batch_size: 50, &:forget!) end