Method: Authlogic::Session::Existence::InstanceMethods#new_session?

Defined in:
lib/authlogic/session/existence.rb

#new_session?Boolean

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

Returns:

  • (Boolean)


56
57
58
# File 'lib/authlogic/session/existence.rb', line 56

def new_session?
  new_session != false
end