Skip to content

Files

Latest commit

 

History

History
23 lines (15 loc) · 696 Bytes

README.markdown

File metadata and controls

23 lines (15 loc) · 696 Bytes

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, 2.1.1 or 2.1.2.

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