Disable the query cache.
authorTom Hughes <tom@compton.nu>
Mon, 13 Oct 2008 23:13:34 +0000 (23:13 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 13 Oct 2008 23:13:34 +0000 (23:13 +0000)
config/initializers/query_cache.rb [new file with mode: 0644]

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