aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/erb.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@users.noreply.github.com>2018-02-12 21:48:24 -0800
committerclaudiob <claudiob@users.noreply.github.com>2018-02-12 22:10:28 -0800
commitb77861d0c9f9ff941e70b38a920a6084627c0713 (patch)
treec28ed970784d85a436292740154a13cc6c13a0f6 /railties/lib/rails/generators/erb.rb
parentb9ed1fa4442633e1328dcde5a37a472b22003a6f (diff)
downloadrails-b77861d0c9f9ff941e70b38a920a6084627c0713.tar.gz
rails-b77861d0c9f9ff941e70b38a920a6084627c0713.tar.bz2
rails-b77861d0c9f9ff941e70b38a920a6084627c0713.zip
Don't overwrite config/master.key even on --force
See https://github.com/rails/rails/pull/31957#issuecomment-364817423 The purpose of `--force` is not to have any prompt whether a file should be kept or overwritten. In general, all existing files should be overwritten. However, `config/master.key` is special because it is git-ignored, and overwriting it will cause the app not to run (since there won't be a way to decrypt the credentials). As a result, it's probably better to keep the existing config/master.key.
Diffstat (limited to 'railties/lib/rails/generators/erb.rb')
0 files changed, 0 insertions, 0 deletions