]> git.openstreetmap.org Git - rails.git/blob - config/initializers/query_cache.rb
Make database offline mode work
[rails.git] / config / initializers / query_cache.rb
1 if defined?(ActionRecord::ConnectionAdaptors::QueryCache)
2   module ActiveRecord
3     module ConnectionAdapters
4       module QueryCache
5         private
6           def cache_sql(sql)
7           yield
8           end
9       end
10     end
11   end
12 end