projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c24aa0
)
Disable the query cache.
author
Tom Hughes
<tom@compton.nu>
Mon, 13 Oct 2008 23:13:34 +0000
(23:13 +0000)
committer
Tom 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]
patch
|
blob
diff --git a/config/initializers/query_cache.rb
b/config/initializers/query_cache.rb
new file mode 100644
(file)
index 0000000..
83d42fe
--- /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