# File lib/authlogic/session/persistence.rb, line 51 def persisting? return true if !record.nil? self.attempted_record = nil before_persisting persist ensure_authentication_attempted if errors.empty? && !attempted_record.nil? self.record = attempted_record after_persisting save_record self.new_session = false true else false end end