浏览代码

Merge pull request #2051 from sdhull/patch-1

Remove config/secrets.yml
Brendan Forster 8 年之前
父节点
当前提交
2664dad61f
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      Rails.gitignore

+ 4 - 2
Rails.gitignore

@@ -12,9 +12,11 @@ capybara-*.html
 rerun.txt
 rerun.txt
 pickle-email-*.html
 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/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
 # dotenv
 # TODO Comment out this rule if environment variables can be committed
 # TODO Comment out this rule if environment variables can be committed