X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bf29550db840c97cafffbe1e836750bef6c7942d..6b3c7b7dca7b2562255a317a4a4a2cb148a884bb:/config/initializers/query_cache.rb?ds=sidebyside 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