1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Unify delete_multi_entries method signatute

or it warns on Ruby 2.6
This commit is contained in:
Akira Matsuda 2019-09-05 18:56:21 +09:00
parent 1ccc407e9d
commit c8e7f3ca7b

View file

@ -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