Skip to content
Permalink
Browse files

Unify delete_multi_entries method signatute

or it warns on Ruby 2.6
  • Loading branch information...
amatsuda committed Sep 5, 2019
1 parent 1ccc407 commit c8e7f3ca7b5fb47af1fd130b743d7e87d16acd38
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/cache/redis_cache_store.rb
@@ -421,7 +421,7 @@ def delete_entry(key, options)
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

0 comments on commit c8e7f3c

Please sign in to comment.
You can’t perform that action at this time.