We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e9f807 + 6e15d5a commit 79056f9Copy full SHA for 79056f9
activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
@@ -157,11 +157,13 @@ def enable_query_cache
157
end
158
159
def enable_query_cache!
160
- query_cache.enabled, query_cache.dirties = true, true
+ query_cache.enabled = true
161
+ query_cache.dirties = true
162
163
164
def disable_query_cache!
- query_cache.enabled, query_cache.dirties = false, true
165
+ query_cache.enabled = false
166
167
168
169
def query_cache_enabled
0 commit comments