Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make secret_key_base doc more explicit [ci skip] #45333

Merged
merged 1 commit into from Jun 13, 2022

Conversation

skipkayhil
Copy link
Member

Summary

This used to be config.secret_key_base but was changed to
secrets.secret_key_base in ae75289 and the secrets. prefix was
removed in ca18922 when credentials were added.

secret_key_base by itself doesn't really fit with the rest of this
section, so the header and description were changed to document the
config value explicitly, and a reference was added to the api docs for
the recommended approaches at setting its value.

@rails-bot rails-bot bot added the docs label Jun 11, 2022
This used to be `config.secret_key_base` but was changed to
`secrets.secret_key_base` in ae75289 and the `secrets.` prefix was
removed in ca18922 when credentials were added.

`secret_key_base` by itself doesn't really fit with the rest of this
section, so the header and description were changed to document the
config value explicitly, and a reference was added to the api docs for
the recommended approaches at setting its value.

Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
@skipkayhil
Copy link
Member Author

Makes sense to me, thanks for the suggestion!

@jonathanhefner jonathanhefner merged commit bb680b9 into rails:main Jun 13, 2022
@jonathanhefner
Copy link
Member

jonathanhefner commented Jun 13, 2022

Thank you, @skipkayhil! 😃

(Backported to 7-0-stable.)

@skipkayhil skipkayhil deleted the refine-configuring-docs branch June 13, 2022 21:54
jonathanhefner added a commit to jonathanhefner/rails that referenced this pull request Jun 25, 2022
Make secret_key_base doc more explicit [ci skip]

(cherry picked from commit bb680b9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants