This project is archived and is in readonly mode.

#14 ✓resolved
Jonathan Weiss

Support options passed to ActiveSupport::Cache :mem_cache_store

Reported by Jonathan Weiss | April 16th, 2008 @ 09:43 PM

The inclusion of Memcache-Client to ActiveSupport::Cache made it easier to use but also removed the flexibility to supply custom options.

This patch(+unit tests) fixes this and allows you to supply extra options:

ActiveSupport::Cache.lookup_store :mem_cache_store, "localhost"

ActiveSupport::Cache.lookup_store :mem_cache_store, "localhost", '', :namespace => 'foo'


config.action_controller.fragment_cache_store = :mem_cache_store, 'localhost', {:compression => true, :debug => true, :namespace =>'foo'}


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

Shared Ticket Bins

People watching this ticket


Referenced by