aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache/redis_cache_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache/redis_cache_store.rb b/activesupport/lib/active_support/cache/redis_cache_store.rb
index 358de9203d..2cbeaef6fa 100644
--- a/activesupport/lib/active_support/cache/redis_cache_store.rb
+++ b/activesupport/lib/active_support/cache/redis_cache_store.rb
@@ -303,7 +303,7 @@ module ActiveSupport
keys_to_names = names.map { |name| [ normalize_key(name, options), name ] }.to_h
values = redis.mget(*keys_to_names.keys)
- keys_to_names.zip(values).each_with_object({}) do |((key, name), value), results|
+ keys_to_names.zip(values).each_with_object({}) do |((_, name), value), results|
if value
entry = deserialize_entry(value)
unless entry.nil? || entry.expired? || entry.mismatched?(normalize_version(name, options))