Class: ActionDispatch::Session::RedisStore

Inherits:
Rack::Session::Redis
  • Object
show all
Includes:
Compatibility, SessionObject, StaleSessionCheck
Defined in:
lib/action_dispatch/middleware/session/redis_store.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, options = {}) ⇒ RedisStore

Returns a new instance of RedisStore.



12
13
14
15
16
# File 'lib/action_dispatch/middleware/session/redis_store.rb', line 12

def initialize(app, options = {})
  options = options.dup
  options[:redis_server] ||= options[:servers]
  super
end