1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/tasks
John Crepezzi 4ee9dab316 Make DatabaseTasks adapters use DatabaseConfig objects
We are moving to using `DatabaseConfig` objects everywhere inside of
Rails instead of passing around Hash objects.

This PR moves to using `DatabaseConfig` objects inside of the individual
database tasks adapters. In the interest of not breaking existing
adapters, we've introduced an upgrade path by which adapters can get a
hold of database configuration objects instead of Hashes by implementing
a method `self.using_database_configurations?`

Co-authored-by: eileencodes <eileencodes@gmail.com>
2019-09-25 13:52:14 -04:00
..
database_tasks_test.rb Merge pull request #37242 from seejohnrun/use-database-configs-instead-of-configuration_hash 2019-09-18 16:16:14 -05:00
mysql_rake_test.rb Make DatabaseTasks adapters use DatabaseConfig objects 2019-09-25 13:52:14 -04:00
postgresql_rake_test.rb Make DatabaseTasks adapters use DatabaseConfig objects 2019-09-25 13:52:14 -04:00
sqlite_rake_test.rb Make DatabaseTasks adapters use DatabaseConfig objects 2019-09-25 13:52:14 -04:00