instance method
read_multi_entries
Ruby on Rails edge
Since v5.2.8.1 Private — implementation detail, not part of the public APISignature
read_multi_entries(names, **options)
No documentation comment.
Parameters
-
namesreq -
optionskeyrest
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 193
def read_multi_entries(names, **options)
return super unless local_cache
results = read_multi_entries_from_local_cache(names, options)
if results.size < names.size
results.merge!(super(names - results.keys, **options))
end
results
end
Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 193
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Strategy::LocalCache