method
connection_config
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionHandling
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.