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

[backport] Use the new method for getting secret_key_base #3131

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

jcoyne
Copy link
Member

@jcoyne jcoyne commented Jan 19, 2024

See https://blog.saeloun.com/2023/08/11/rails-7-1-store-secret-key-base-in-rails-config/

In Rails 7.1 the existing way causes a problem because Rails.application.credentials.secret_key_base returns nil

@jcoyne jcoyne merged commit 6e4c678 into release-7.x Jan 22, 2024
11 checks passed
@jcoyne jcoyne deleted the backport-secrets branch January 22, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants