method
clear_on_handler
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionHandling
clear_on_handler(handler)private
No documentation available.
# 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