Registry / web-framework / activerecord-session-store

activerecord-session-store

JSON →
library2.2.0rbrubygemsunverified

An Action Dispatch session store backed by an Active Record class for Rails applications.

gem install activerecord-session_store
INSTALL
IMPORT
SIG · ACTIVERECORD-SESSI
A
activerecord-session-store
web-frameworkrubyv2.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActiveRecord::SessionStore
require 'active_record/session_store'

Configure Rails to use ActiveRecord-backed sessions

require 'active_record/session_store' Rails.application.config.session_store :active_record_store
Debug
Known issues
gotchaRequires a database migration to create the sessions table; not automatically generated.
fix
Run `rails generate active_record:session_migration` and then `rails db:migrate`.
affects: >= 2.0.0
Upgrade
Version history
2.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
36
OpenAI (training)
1
Resources
activerecord-session-store — gem install activerecord-session-store · libregistry