module ActiveSupport::Cache::Strategy::LocalCache

def with_local_cache

Use a local cache for the duration of block.
def with_local_cache
  use_temporary_local_cache(LocalStore.new) { yield }
end