From: Tom Hughes Date: Mon, 13 Oct 2008 23:13:34 +0000 (+0000) Subject: Disable the query cache. X-Git-Tag: live~7640 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0d8e4b4337e9b94b6a9ed85095005a779f69583c?ds=sidebyside Disable the query cache. --- diff --git a/config/initializers/query_cache.rb b/config/initializers/query_cache.rb new file mode 100644 index 000000000..83d42feec --- /dev/null +++ b/config/initializers/query_cache.rb @@ -0,0 +1,10 @@ +module ActiveRecord + module ConnectionAdapters + module QueryCache + private + def cache_sql(sql) + yield + end + end + end +end