rails/rails — pull request #11643 by vipulnsward (2013-07-28 19:44:23+00:00)
Title: Currently, we clear query_cache in cache block finish, even if we may al...

Currently, we clear query_cache in cache block finish, even if we may already have cache true.

This commit takes into account the last cache_enabled value, before clearing query_cache.