Class: ActionDispatch::Session::AbstractStore
- Inherits:
-
Rack::Session::Abstract::ID
- Object
- Rack::Session::Abstract::ID
- ActionDispatch::Session::AbstractStore
show all
- Includes:
- Compatibility, StaleSessionCheck
- Defined in:
- actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
Instance Method Summary
collapse
#extract_session_id, #load_session, #stale_session_check!
#generate_sid, #initialize
Instance Method Details
#destroy(env) ⇒ Object
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
|
#destroy_session(env, sid, options) ⇒ Object
75
76
77
78
79
|
# File 'actionpack/lib/action_dispatch/middleware/session/abstract_store.rb', line 75
def destroy_session(env, sid, options)
ActiveSupport::Deprecation.warn "Implementing #destroy in session stores is deprecated. " <<
"Please implement destroy_session(env, session_id, options) instead."
destroy(env)
end
|