mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
b96d01bb1b
It's possible that applications using a 3-tier config don't have a "primary" database entry. When booting the db console we should take the first database, not assume there's a primary. This also changes the message to be more clear. If no database is provided and there are no databases for the environment we shouldn't say that "primary" didn't exist - instead it should say no databases exist. |
||
---|---|---|
.. | ||
console_test.rb | ||
credentials_test.rb | ||
db_system_change_test.rb | ||
dbconsole_test.rb | ||
dev_test.rb | ||
encrypted_test.rb | ||
initializers_test.rb | ||
notes_test.rb | ||
routes_test.rb | ||
runner_test.rb | ||
secrets_test.rb | ||
server_test.rb |