method
clear_all_connections!
v6.1.3.1 -
Show latest stable
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::ConnectionHandler
clear_all_connections!(role = ActiveRecord::Base.current_role)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 1096 def clear_all_connections!(role = ActiveRecord::Base.current_role) connection_pool_list(role).each(&:disconnect!) end