Class: ActionDispatch::Session::AbstractStore
- Inherits:
-
Rack::Session::Abstract::ID
- Object
- Rack::Session::Abstract::ID
- ActionDispatch::Session::AbstractStore
- Includes:
- Compatibility, StaleSessionCheck
- Defined in:
- actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
Instance Method Summary (collapse)
Methods included from StaleSessionCheck
#extract_session_id, #load_session, #stale_session_check!
Methods included from Compatibility
Constructor Details
This class inherits a constructor from ActionDispatch::Session::Compatibility
Instance Method Details
- (Object) destroy(env)
81 82 83 |
# File 'actionpack/lib/action_dispatch/middleware/session/abstract_store.rb', line 81 def destroy(env) raise '#destroy needs to be implemented.' end |
- (Object) destroy_session(env, sid, options)
75 76 77 78 79 |
# File 'actionpack/lib/action_dispatch/middleware/session/abstract_store.rb', line 75 def destroy_session(env, sid, ) ActiveSupport::Deprecation.warn "Implementing #destroy in session stores is deprecated. " << "Please implement destroy_session(env, session_id, options) instead." destroy(env) end |