Sha256: 076c3f644bfff4f1b4f272a9abc602ce5939db3f64fb2187782d0e06e50a58f2

Contents?: true

Size: 566 Bytes

Versions: 126

Compression:

Stored size: 566 Bytes

Contents

require 'action_dispatch/middleware/session/abstract_store'
begin
  require 'rack/session/dalli'
rescue LoadError => e
  $stderr.puts "You don't have dalli installed in your application. Please add it to your Gemfile and run bundle install"
  raise e
end

module ActionDispatch
  module Session
    class MemCacheStore < Rack::Session::Dalli
      include Compatibility
      include StaleSessionCheck
      include SessionObject

      def initialize(app, options = {})
        options[:expire_after] ||= options[:expires]
        super
      end
    end
  end
end

Version data entries

126 entries across 122 versions & 10 rubygems

Version Path
actionpack-4.2.4 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.1.13 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.2.4.rc1 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.1.13.rc1 lib/action_dispatch/middleware/session/mem_cache_store.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/session/mem_cache_store.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/session/mem_cache_store.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/actionpack-4.2.2/lib/action_dispatch/middleware/session/mem_cache_store.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/actionpack-4.2.1/lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.2.3 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.1.12 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.2.3.rc1 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.1.12.rc1 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.2.2 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.1.11 lib/action_dispatch/middleware/session/mem_cache_store.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.1.10 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.2.1 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.1.10.rc4 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.2.1.rc4 lib/action_dispatch/middleware/session/mem_cache_store.rb
actionpack-4.1.10.rc3 lib/action_dispatch/middleware/session/mem_cache_store.rb