Skip to content

Commit cedd263

Browse files
committed
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).
1 parent e7c4964 commit cedd263

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Rails.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ capybara-*.html
1212
rerun.txt
1313
pickle-email-*.html
1414

15-
# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
15+
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
1616
config/initializers/secret_token.rb
17-
config/secrets.yml
17+
18+
# Only include if you have production secrets in this file, which is no longer a Rails default
19+
# config/secrets.yml
1820

1921
# dotenv
2022
# TODO Comment out this rule if environment variables can be committed

0 commit comments

Comments
 (0)