Topic: Action Caching caches entire layout even with :layout => false
I am implementing action caching. I am specifying :layout => false to only cache the action content, however the entire template is being cached for these actions. Does anybody have any ideas why this could be happening?
Here is my controller code:
caches_action :index, :cache_path => :index_cache_path.to_proc, :layout => false
Removing the :cache_path directive doesn't make a difference either.
I was running Rails 2.1.1. I upgraded to Rails 2.2.2 and now I have the :layout => false functionality. Funny how I always figure out these simple errors after I've already posted my problem...
Last edited by swese44 (2009-01-31 01:25:20)