method

clear_on_handler

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ConnectionHandling
clear_on_handler(handler) private

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/connection_handling.rb, line 341
      def clear_on_handler(handler)
        handler.all_connection_pools.each do |pool|
          pool.connection.clear_query_cache if pool.active_connection?
        end
      end
Register or log in to add new notes.