When I develop any application in Rails big enough to use caching I always turn on caching in development mode. Why? I’m using bundled_assets plugin, and waiting for bundling all files for every request would be annoying enough to enable caching. But this is minor reason. I do enable caching to catch errors with wrong cache expiration. Browsing through application in development mode I have chance to spot some errors with caching/expiration.
There is plugin to help test caching with Rails test framework, but I did not used it since does not cover fragment caching, and this method I am using. Could anyone tell me if have seen something similar for fragment caching? Or any other suggestions how to test caching and expiring?