]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/query_cache.rb
Disable the query cache.
[rails.git] / config / initializers / query_cache.rb
diff --git a/config/initializers/query_cache.rb b/config/initializers/query_cache.rb
new file mode 100644 (file)
index 0000000..83d42fe
--- /dev/null
@@ -0,0 +1,10 @@
+module ActiveRecord
+  module ConnectionAdapters
+    module QueryCache
+      private
+        def cache_sql(sql)
+         yield
+        end
+    end
+  end
+end