Sha256: ee0343bb7b6cdbb2ec66b4a1d3758d91c2e2e0c1666b8c9af77079e761752781
Contents?: true
Size: 471 Bytes
Versions: 3
Compression:
Stored size: 471 Bytes
Contents
# Rails 4 Redis session store with JSON serialization Require store and actionpack ``` gem 'redis-actionpack-json', '~> 4.0.0' gem 'redis-rack', '~> 1.5.2' gem 'redis-store', '~> 3.0.0' ``` Configure the session ``` MyApplication.config.session_store :redis_store, :key => '_session_key', :key_prefix => 'key_prefix_', :strategy => :json_session, :domain => :all, :server => { :host => :localhost, :port => 6379 } ```
Version data entries
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
redis-store-json-3.0.0 | README.md |
redis-rack-json-1.5.2 | README.md |
redis-actionpack-json-4.0.0 | README.md |