module ActiveRecord::ConnectionAdapters::QueryCache

def cache(&block)

Enable the query cache within the block.
def cache(&block)
  pool.enable_query_cache(&block)
end