We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c2d998 commit 0f57858Copy full SHA for 0f57858
test/support/core_ext/query_cache.rb
@@ -22,7 +22,7 @@ module SqlIgnoredCache
22
# compromising cache outside tests.
23
def cache_sql(sql, name, binds)
24
result = super
25
-
+
26
@query_cache.instance_variable_get(:@map).delete_if do |cache_key, _v|
27
# Query cache key generated by `sql` or `[sql, binds]`, so need to retrieve `sql` for both cases.
28
cache_key_sql = Array(cache_key).first
0 commit comments