method

preconnect

rails latest stable - Class: ActiveRecord::ConnectionAdapters::ConnectionPool

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

preconnect()
public

Preconnect all connections in the pool. This saves pool users from having to wait for a connection to be established when first using it after checkout.