rails/rails — pull request #8903 by ctide (2013-01-11 19:53:26+00:00)
Title: Add a reread option to Cache.fetch to return response from cache

When using memcached with the raw option, everything you push into cache will be stored as a string (and subsequently read back out as a string.) This adds an option to fetch so that even when the block is executed and stored, the response is what came out of memcached instead of just returning the output of the block.