]> git.openstreetmap.org Git - rails.git/blob - config/initializers/query_cache.rb
Switch to using the rails-i18n-updater gem instead of the rails-i18n plugin
[rails.git] / config / initializers / query_cache.rb
1 if defined?(ActiveRecord::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