README.md in dalli-2.2.1 vs README.md in dalli-2.3.0

- old
+ new

@@ -84,10 +84,17 @@ config.cache_store = :dalli_store, 'cache-1.example.com', 'cache-2.example.com', { :namespace => NAME_OF_RAILS_APP, :expires_in => 1.day, :compress => true } To use Dalli for Rails session storage that times out after 20 minutes, in `config/initializers/session_store.rb`: +For Rails >= 3.2.4: + Rails.application.config.session_store ActionDispatch::Session::CacheStore, :expire_after => 20.minutes + +For Rails 3.x: + + require 'action_dispatch/middleware/session/dalli_store' + Rails.application.config.session_store :dalli_store, :memcache_server => ['host1', 'host2'], :namespace => 'sessions', :key => '_foundation_session', :expire_after => 20.minutes Dalli does not support Rails 2.x. Configuration