Iam using Rails 3.1.0, i tried page, action and query cache.
I was not able to do :expires_in in some minutes for Page of Action
action cahe. How to do the same?
I tried the code like,
caches_page :index, :expires_in => 2.minutes
caches_action :create, :expires_in => 2.minutes
But Query cache work fine with caching and expiry when i used like
@inc = Rails.cache.fetch("inc", :expires_in => 5.minutes)
Why page and action doesnt works with expires_in? It worked for me in
ealier versions of rails, how to do it in Rails 3.1?
I dont want to use cache stores(mem cache or dalli)
Please suggest me any ways?
Thanks in advance