rails/rails — pull request #10254 by wangjohn (2013-04-17 21:17:40+00:00)
Title: Refactored the storage of a temporary version of the local cache.

The two methods ``with_local_cache`` and ``bypass_local_cache`` basically do the same thing and save a temporary version of the local cache.

I've refactored this into its own method so that the code can be reused.