From 75500476eb7e953a06cc64e67ecc57b13ef8cc99 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 29 May 2017 13:57:14 +0200 Subject: Ignore the encrypted secrets key file that is created by rails secrets:setup --- railties/lib/rails/generators/rails/app/templates/gitignore | 3 +++ 1 file changed, 3 insertions(+) (limited to 'railties/lib') 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 -- cgit v1.2.3