= mem_cache_fragment_store

Rubyforge Project:

http://rubyforge.org/projects/rctools

Documentation:

http://dev.robotcoop.com/Libraries/mem_cache_fragment_store

== About

mem_cache_fragment_store is an improved Rails fragment cache that rescues
errors and reuses memcache servers allowing you to instantiate the store only
once.

== Installing mem_cache_fragment_store

Just install the gem:

$ sudo gem install mem_cache_fragment_store

== Using mem_cache_fragment_store

Edit your config/environment.rb:

CACHE = MemCache.new %w[10.0.0.2:11211 10.0.0.1:11211],
:namespace => 'your_app'

ActionController::Base.fragment_cache_store = :mem_cache_fragment_store, CACHE