Disable the query cache.
This commit is contained in:
parent
3c24aa0a9b
commit
0d8e4b4337
1 changed files with 10 additions and 0 deletions
10
config/initializers/query_cache.rb
Normal file
10
config/initializers/query_cache.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
module ActiveRecord
|
||||
module ConnectionAdapters
|
||||
module QueryCache
|
||||
private
|
||||
def cache_sql(sql)
|
||||
yield
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue