aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb')
-rw-r--r--actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb11
1 files changed, 1 insertions, 10 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 c51cbddfb5..38a737cd2b 100644
--- a/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb
+++ b/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb
@@ -6,22 +6,13 @@ module ActionDispatch
class MemCacheStore < Rack::Session::Memcache
include Compatibility
include StaleSessionCheck
+ include SessionObject
def initialize(app, options = {})
require 'memcache'
options[:expire_after] ||= options[:expires]
super
end
-
- private
-
- def prepare_session(env)
- Request::Session.create(self, env, @default_options)
- end
-
- def loaded_session?(session)
- !session.is_a?(Request::Session) || session.loaded?
- end
end
end
end