X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d8e4b4337e9b94b6a9ed85095005a779f69583c..51dcf86f40200bf4728097868f45aa2fe12968f3:/config/initializers/query_cache.rb diff --git a/config/initializers/query_cache.rb b/config/initializers/query_cache.rb index 83d42feec..bb9c8b024 100644 --- a/config/initializers/query_cache.rb +++ b/config/initializers/query_cache.rb @@ -1,10 +1 @@ -module ActiveRecord - module ConnectionAdapters - module QueryCache - private - def cache_sql(sql) - yield - end - end - end -end +Rails.configuration.middleware.delete ActiveRecord::QueryCache