Class: Sequel::Rails::SessionStore
- Inherits:
-
ActionDispatch::Session::AbstractStore
- Object
- ActionDispatch::Session::AbstractStore
- Sequel::Rails::SessionStore
- Defined in:
- lib/sequel/rails/session_store.rb
Overview
Database-backed session store, with a Sequel model as the interface to the session table.
Note that Rails will not use this by default (since the default store is CookieStore). To use it, you’ll need to add this to config/application.rb:
config.session_store(Sequel::Rails::SessionStore)
Defined Under Namespace
Classes: Session
Constant Summary collapse
- SESSION_RECORD_KEY =
'rack.session.record'.freeze