diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-05-29 13:57:14 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-05-29 13:57:27 +0200 |
commit | 75500476eb7e953a06cc64e67ecc57b13ef8cc99 (patch) | |
tree | 08e4b1a3c57f632f9b691e4c88a146a645ea52f3 /railties/lib/rails/generators | |
parent | 7a3db2ea15970e4c9c31a2b23303928aeadb391d (diff) | |
download | rails-75500476eb7e953a06cc64e67ecc57b13ef8cc99.tar.gz rails-75500476eb7e953a06cc64e67ecc57b13ef8cc99.tar.bz2 rails-75500476eb7e953a06cc64e67ecc57b13ef8cc99.zip |
Ignore the encrypted secrets key file that is created by rails secrets:setup
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/gitignore b/railties/lib/rails/generators/rails/app/templates/gitignore index 7221c26729..d8e2244ad4 100644 --- a/railties/lib/rails/generators/rails/app/templates/gitignore +++ b/railties/lib/rails/generators/rails/app/templates/gitignore @@ -7,6 +7,9 @@ # Ignore bundler config. /.bundle +# Ignore encrypted secrets key file +config/secrets.yml.enc + <% if sqlite3? -%> # Ignore the default SQLite database. /db/*.sqlite3 |