method
active_connections?
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::ConnectionHandler
active_connections?(role = nil)public
Returns true if there are any active connections among the connection pools that the ConnectionHandler is managing.