Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect --force option for config/master.key
This is similar to rails#30700 which ensures the `--quiet` option of `rails new` is respected by the `MasterKeyGenerator` (missing from rails#30067). Before this commit, running `rails new app --force` would still prompt the user what to do with the conflict in `config/master.key`: ``` … identical config/locales/en.yml conflict config/master.key Overwrite /Users/claudiob/Desktop/pizza/config/master.key? (enter "h" for help) [Ynaqdh] ``` After this commit, `config/master.key` is overwritten: ``` … identical config/locales/en.yml force config/master.key append .gitignore ``` The newly added test generates an app and then generates it again with `--force`. Without this commit, the test would just wait forever for user input.
- Loading branch information