rails/activerecord/test/cases/database_configurations
John Crepezzi 8d5a4ff6a7 Remove ConnectionAdapters::Resolver in favor of DatabaseConfigurations
We have these two objects, `ConnectionAdapters::Resolver` and
`DatabaseConfiguratons` that implement a lot of the same logic. One of
them is used for configurations defined in `config/database.yml` and the
other is used when passing raw configurations `String` or `Hash` objects
into methods like `establish_connection`.

Over time these two have diverged a bit. In the interest of less code
complexity, and more consistency for users this commit brings them back
together.

* Remove `Resolver` altogether and replace its primary method with
  `DatabaseConfigurations#resolve`.

* Move `resolve_pool_config` over to the `ConnectionPool` alongside the code
  that uses it.
2019-11-12 22:30:31 -08:00
..
hash_config_test.rb
resolver_test.rb Remove ConnectionAdapters::Resolver in favor of DatabaseConfigurations 2019-11-12 22:30:31 -08:00