method
read_multi_entries
v6.1.3.1 -
Show latest stable
- Class:
ActiveSupport::Cache::Strategy::LocalCache
read_multi_entries(keys, **options)private
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 145
def read_multi_entries(keys, **options)
return super unless local_cache
local_entries = local_cache.read_multi_entries(keys, **options)
missed_keys = keys - local_entries.keys
if missed_keys.any?
local_entries.merge!(super(missed_keys, **options))
else
local_entries
end
end