Search code examples
rubyruby-on-rails-3cachingpage-caching

caches_page :all


Is there any way to tell Rails 3 to cache all pages in a given controller without having to list them all when calling caches_page? I tried caches_page :all, but it doesn't work.


Solution

  • Kind of a bug of the implementation, but I just tried it and it works on Rails 3.0.6:

    caches_page :except => []