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 Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
credentials_test.rb Add credentials:diff --disenroll 2020-12-29 16:46:13 -06:00
db_system_change_test.rb Remove more code for unsupported frontbase and ibm_db adapters 2020-04-12 11:45:28 +09:00
dbconsole_test.rb Fix dbconsole for 3-tier config. 2021-12-17 11:17:17 -05:00
dev_test.rb remove reference to global rails command and replace with bin/rails 2019-12-27 19:32:37 +00:00
encrypted_test.rb Don't load app environment when running encrypted commands 2020-05-12 12:06:05 -05:00
initializers_test.rb ✂️ [ci skip] 2020-09-16 09:52:10 +09:00
notes_test.rb Revert "Merge pull request #37215 from utilum/avoid_test_flunking_on_warning" 2019-12-25 17:13:09 +09:00
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 Deprecate encrypted secrets in favor of credentials. 2017-11-12 17:50:09 +01:00
server_test.rb Remove Command::Spellchecker and use DidYouMean for suggestions 2021-06-04 09:20:43 +02:00