method

run

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::QueryCache
run() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/query_cache.rb, line 28
    def self.run
      pools = []

      ActiveRecord::Base.connection_handlers.each do |key, handler|
        pools << handler.connection_pool_list.reject { |p| p.query_cache_enabled }.each { |p| p.enable_query_cache! }
      end

      pools.flatten
    end
Register or log in to add new notes.