1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib
claudiob b77861d0c9 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.
2018-02-12 22:10:28 -08:00
..
minitest Merge pull request #29891 from pat/frozen-string-literals-railties 2017-08-14 15:00:37 -04:00
rails Don't overwrite config/master.key even on --force 2018-02-12 22:10:28 -08:00
rails.rb [Railties] require_relative => require 2017-10-21 22:48:26 +09:00