No commit activity in last 3 years
No release in over 3 years
Redis session storage for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 3.1
 Project Readme

redis_session_storage

#Installation

gem install redis_session_storage

#Usage

Edit config/initializers/session_storage.rb with the following:

Rails.application.config.session_store :redis_session_storage

#Options

Rails.application.config.session_store :redis_session_storage, {options}

:host => the redis host to connect to. Defaults to 127.0.0.1
:port => the redis port, defaults to 6379
:db => redis db to use, defaults to 0
:serializer => Json(:json) or Ruby Marshaller is default
:key => the prefix for the keys in redis and the name of the cookie