]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/query_cache.rb
Update data schema
[rails.git] / config / initializers / query_cache.rb
index 61a618bca7d7b6656533b7a60700c3f4e9e1cec6..bb9c8b0245854243a3a047c887eaf2134696ebb5 100644 (file)
@@ -1,12 +1 @@
-if defined?(ActiveRecord::ConnectionAdaptors::QueryCache)
-  module ActiveRecord
-    module ConnectionAdapters
-      module QueryCache
-        private
-          def cache_sql(sql)
-         yield
-          end
-      end
-    end
-  end
-end
+Rails.configuration.middleware.delete ActiveRecord::QueryCache