method

postgresql_connection

postgresql_connection(config)
public

Establishes a connection to the database that’s used by all Active Record objects