From 37a0fbaadab93497c71583e0ca8327361aaa0835 Mon Sep 17 00:00:00 2001 From: Max Weinbrown Date: Mon, 9 Jun 2014 19:49:36 -0400 Subject: [PATCH] Update .gitignore for most recent Rails version This is no longer a security threat in the most recent version of Rails as the production secret comes from an environmental variable. Further, deployment systems utilizing git (heroku) will often require this file. --- Rails.gitignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rails.gitignore b/Rails.gitignore index d9474d9d..fba3ce80 100644 --- a/Rails.gitignore +++ b/Rails.gitignore @@ -11,9 +11,9 @@ capybara-*.html rerun.txt pickle-email-*.html -# TODO Comment out these rules if you are OK with secrets being uploaded to the repo -config/initializers/secret_token.rb -config/secrets.yml +# TODO Uncomment these lines if you are using Rails < 4.1 +# config/initializers/secret_token.rb +# config/secrets.yml ## Environment normalisation: /.bundle