1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/commands
eileencodes b96d01bb1b
Fix dbconsole for 3-tier config.
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.
2021-12-17 11:17:17 -05:00
..
console_test.rb
credentials_test.rb Add credentials:diff --disenroll 2020-12-29 16:46:13 -06:00
db_system_change_test.rb
dbconsole_test.rb Fix dbconsole for 3-tier config. 2021-12-17 11:17:17 -05:00
dev_test.rb
encrypted_test.rb
initializers_test.rb ✂️ [ci skip] 2020-09-16 09:52:10 +09:00
notes_test.rb
routes_test.rb Implement ActionMailbox incinerate in conductor 2021-06-24 15:35:56 -03:00
runner_test.rb Add tests for rails runner 2021-04-18 13:58:02 +03:00
secrets_test.rb
server_test.rb Remove Command::Spellchecker and use DidYouMean for suggestions 2021-06-04 09:20:43 +02:00