method

connection_config

Importance_1
v3.2.13 - Show latest stable - 0 notes - Class: ActiveRecord::Base
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.