From cedd263b832e6f287e827e5b7bf159cd4cb36e14 Mon Sep 17 00:00:00 2001
From: Steve Hull
Date: Mon, 8 Aug 2016 11:38:53 -0700
Subject: [PATCH] Remove config/secrets.yml
Rails no longer generates this file with sensitive secrets (default now is to do `secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>` in production).
---
Rails.gitignore | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Rails.gitignore b/Rails.gitignore
index d8c256c..e974276 100644
--- a/Rails.gitignore
+++ b/Rails.gitignore
@@ -12,9 +12,11 @@ capybara-*.html
rerun.txt
pickle-email-*.html
-# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
+# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
-config/secrets.yml
+
+# Only include if you have production secrets in this file, which is no longer a Rails default
+# config/secrets.yml
# dotenv
# TODO Comment out this rule if environment variables can be committed
--
GitLab