method

connection_config

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ConnectionHandling

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

connection_config() public

Returns the configuration of the associated connection as a hash:

ActiveRecord::Base.connection_config
# => {pool: 5, timeout: 5000, database: "db/development.sqlite3", adapter: "sqlite3"}

Please use only for reading.

Show source
Register or log in to add new notes.