diff options
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb b/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb index 14af7eef68..38a737cd2b 100644 --- a/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb @@ -1,15 +1,15 @@ require 'action_dispatch/middleware/session/abstract_store' -require 'rack/session/dalli' +require 'rack/session/memcache' module ActionDispatch module Session - class MemCacheStore < Rack::Session::Dalli + class MemCacheStore < Rack::Session::Memcache include Compatibility include StaleSessionCheck include SessionObject def initialize(app, options = {}) - require 'dalli' + require 'memcache' options[:expire_after] ||= options[:expires] super end |