instance method
delete_multi
Ruby on Rails 7.0.10
Since v6.1.7.10Signature
delete_multi(names, options = nil)
Deletes multiple entries in the cache.
Options are passed to the underlying cache implementation.
Parameters
-
namesreq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache.rb, line 525
def delete_multi(names, options = nil)
options = merged_options(options)
names.map! { |key| normalize_key(key, options) }
instrument :delete_multi, names do
delete_multi_entries(names, **options)
end
end
Defined in activesupport/lib/active_support/cache.rb line 525
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store