Changing gitignore template to ignore files with sensitive data by default #6313

wants to merge 1 commit into


None yet

4 participants


Not sure if is valid but I'm opening this PR to discuss it. I think it could be useful to avoid security issues by default.

Ruby on Rails member

This does not merge cleanly.


I think that this stuff should be deploy-related, not sure it should be handled by Rails.
I may be wrong but also I don't think that this is the first pull request of this kind :)

Ruby on Rails member

I'm closing this one since he already discussed this in #6210. See some comments for the Rails core members 1, 2 and 3.

Adding these files to the .gitignore is not a good solution to this issue. Maybe you can discuss on #6210 the config/secrets/* convention.

Thank you fot the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment