public
Description: Add per-store options to caches_action in Rails 2.1
Homepage:
Clone URL: git://github.com/nickpad/rails-caches-action-patch.git
Nicholas Dainty (author)
Tue Sep 09 09:55:27 -0700 2008
commit  4b4242b17187ae6ff2b8cf6bd096b14045ee2829
tree    eb57969bb37613eb9a97e2ae0fbfd33cd492f554
parent  35970678b0b4d70f8b709bb2e48b0afe115094df
name age message
file README.markdown Loading commit data...
file init.rb
README.markdown

Rails caches_action Plugin

This plugin applies a patch from Rails edge to ActionPack, which enables the use of cache-specific options from the caches_action method.

For example, you can specify :expires_in => 30 when using the MemCache cache store.

The patch will only be applied if the Rails version is 2.1.0.

The original git commit @ github

Compatibility

Only works with Rails 2.1. Versions greater than 2.1 should have this functionality built in.

Install

ruby script/plugin install git://github.com/nickpad/rails-caches-action-patch.git