| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Follow up of 3e81490717a314437f9123d86fa3e9dc55558e95.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
y-yagi/extract_assert_output_and_available_pty_to_module
Extract `assert_output` and `available_pty?` into `ConsoleHelpers` module
|
| |
| |
| |
| |
| | |
We define almost the same method with multiple tests. Therefore, it extract
into module.
|
|/
|
|
|
|
|
|
| |
The output of `.databases` in SQLite will truncate to a certain size.
This causes the test to fail when run locally from a mac, or anything
which has a tempdir with more than a few characters. This pragma has
the same output, but presented as a normal query, meaning no truncation
will occur.
|
|
|
|
|
|
|
| |
Since #29725, load application file when `dbconsole` command is executed.
However, if do not set `RAILS_ENV` before reading the application file,
can not connect to the env specified in option, so added the setting
of `RAILS_ENV`.
|
|
Currently the environment file is not loaded in `dbconsole` command.
Therefore, for example, if use encrypted secrets values in database.yml,
`read_encrypted_secrets` will not be true, so the value can not be
used correctly.
Fixes #29717
|