Stored Session
Encrypted, database-backed session store for Rails 8
No ratings yet
- Gem
- stored_session
- Repository
- tbhb/stored_session
- License
- MIT
- Stars
- 15
- Added
- August 08, 2026
About
Encrypted, database-backed session store for Rails 8
Encrypted, database-backed session store for Rails. It is a modernization of the activerecord-session_store gem that was previously extracted from Rails. Stored Session is encrypted by default and is tested with MySQL, PostgreSQL, and SQLite against Rails 8+.
What you get
- Compact serialization with MessagePack and encrypted storage with Active Record encryption (inspired by Solid Cache)
- Built-in job for expiring inactive sessions
- Tested with MySQL, PostgreSQL, and SQLite
- Instrumentation with ActiveSupport::Notifications
Installing it
ruby
# Gemfile
gem "stored_session"
Details
15 stars on GitHub · MIT licensed · maintained by tbhb. Source: https://github.com/tbhb/stored_session
Discussion (0)
Sign in to join the discussion.
No comments yet.