]> git.openstreetmap.org Git - rails.git/blob - config/initializers/query_cache.rb
Rework notes interface using OpenLayers and rails
[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