rails/rails — pull request #3267 by sishen (2011-10-09 13:18:37+00:00)
Title: expire_action can expire by the custom path directly

expire_action can expire the custom path directly instead of passing :controller/:action for url generator.

For example,

```ruby
caches_action :feed, :cache_path => proc do
if params[:user_id]
user_list_url(params[:user_id, params[:id])
else
list_url(params[:id])
end
end
```

So we can use **expire_action(list_url(params[:id]))** to expire the cache.