rails/rails — pull request #3396 by bdurand (2011-10-21 19:28:46+00:00)
Title: Add ActionDispatch::Session::CacheStore as a generic way of storing sessions in a cache

Here is a new storage engine for Rails session storage that stores sessions in the Rails.cache.

This analogous to MemCacheStore but it is far more flexible in that it can use any backend that is available for Rails.cache (i.e. DalliStore, RedisStore, etc.). It also doesn't require configuring your memcached cluster twice in your environment config file.

(Note: this was originally opened in Lighthouse at https://rails.lighthouseapp.com/projects/8994/tickets/6675)