method

install_executor_hooks

install_executor_hooks(executor = ActiveSupport::Executor)
public

No documentation available.

# File activerecord/lib/active_record/query_cache.rb, line 43
    def self.install_executor_hooks(executor = ActiveSupport::Executor)
      executor.register_hook(self)

      executor.to_complete do
        unless ActiveRecord::Base.connection.transaction_open?
          ActiveRecord::Base.clear_active_connections!
        end
      end
    end