mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
726e21e86e
An entry in `ActiveRecord::Base.configurations` can either be a connection spec ("two-level") or a hash of specs ("three-level"). We were detecting two-level configurations by looking for the `database` key, but the database can also be specified as part of the `url` key, which meant we incorrectly treated those configurations as three-level. |
||
---|---|---|
.. | ||
database_tasks_test.rb | ||
mysql_rake_test.rb | ||
postgresql_rake_test.rb | ||
sqlite_rake_test.rb |