class ActiveSupport::Cache::Store
def write_multi(hash, options = nil)
def write_multi(hash, options = nil) return hash if hash.empty? options = merged_options(options) instrument_multi :write_multi, hash, options do |payload| entries = hash.each_with_object({}) do |(name, value), memo| memo[normalize_key(name, options)] = Entry.new(value, **options.merge(version: normalize_version(name, options))) end write_multi_entries entries, **options end end