From 55190de46b8f5059ea2d26e198ed89325bceb5b3 Mon Sep 17 00:00:00 2001 From: Petrik Date: Wed, 5 Jul 2023 15:46:20 +0200 Subject: [PATCH] Document return value of `Rails.cache.delete_multi` --- activesupport/lib/active_support/cache.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb index 7c808517ba..c14bddbaf2 100644 --- a/activesupport/lib/active_support/cache.rb +++ b/activesupport/lib/active_support/cache.rb @@ -591,7 +591,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)