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

Development

~> 1.2
~> 4.3.1
~> 0.13.0
~> 10

Runtime

~> 1.5.2
 Project Readme

Rails 4 Redis session store with JSON serialization

Require store, actionpack and rack

gem 'redis-actionpack-json', github: 'nathantsoi/redis-store-json'
gem 'redis-store-json', github: 'nathantsoi/redis-store-json'
gem 'redis-rack-json', github: 'nathantsoi/redis-store-json'

Configure the session

MyAppName::Application.config.session_store :redis_store_json,
  key: "_my_app_session",
  strategy: :json_session,
  domain: :all,
  servers: {
    host: :localhost,
    port: 6379
  }