method

connect

rails latest stable - Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
connect()
private

Connects to a PostgreSQL server and sets up the adapter depending on the connected server’s characteristics.