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 reauthenticate.
# File lib/authlogic/acts_as_authentic/persistence_token.rb, line 34 def forget_all # Paginate these to save on memory records = nil i = 0 begin records = limit(50).offset(i) records.each { |record| record.forget! } i += 50 end while !records.blank? end