Skip to content

Commit

Permalink
Merge pull request #48661 from p8/activesupport/document-cache-multip…
Browse files Browse the repository at this point in the history
…le-return-value

Document return value of `Rails.cache.delete_multi`
  • Loading branch information
p8 committed Jul 6, 2023
2 parents 1cbd88f + 55190de commit 2e597fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion activesupport/lib/active_support/cache.rb
Expand Up @@ -598,7 +598,8 @@ def delete(name, options = nil)
end
end

# Deletes multiple entries in the cache.
# Deletes multiple entries in the cache. Returns the number of deleted
# entries.
#
# Options are passed to the underlying cache implementation.
def delete_multi(names, options = nil)
Expand Down

0 comments on commit 2e597fa

Please sign in to comment.