From c8e7f3ca7b5fb47af1fd130b743d7e87d16acd38 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Thu, 5 Sep 2019 18:56:21 +0900 Subject: [PATCH] Unify delete_multi_entries method signatute or it warns on Ruby 2.6 --- activesupport/lib/active_support/cache/redis_cache_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/cache/redis_cache_store.rb b/activesupport/lib/active_support/cache/redis_cache_store.rb index e5eabf92b2..9a1eee9151 100644 --- a/activesupport/lib/active_support/cache/redis_cache_store.rb +++ b/activesupport/lib/active_support/cache/redis_cache_store.rb @@ -421,7 +421,7 @@ module ActiveSupport end # Deletes multiple entries in the cache. Returns the number of entries deleted. - def delete_multi_entries(entries, options) + def delete_multi_entries(entries, **_options) redis.with { |c| c.del(entries) } end