Module Authlogic::Session::Existence::InstanceMethods
In: lib/authlogic/session/existence.rb

Methods

destroy   new_session?   save   save!  

Public Instance methods

Clears all errors and the associated record, you should call this terminate a session, thus requring the user to authenticate again if it is needed.

Returns true if the session is new, meaning no action has been taken on it and a successful save has not taken place.

After you have specified all of the details for your session you can try to save it. This will run validation checks and find the associated record, if all validation passes. If validation does not pass, the save will fail and the erorrs will be stored in the errors object.

Same as save but raises an exception of validation errors when validation fails

[Validate]