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

Move secrets to credentials to stop secrets deprecation warning #2440

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

syed-ali-tw
Copy link
Contributor

@syed-ali-tw syed-ali-tw commented Nov 27, 2024

Rails 7 has begun to deprecate Rails.application.secrets in favour of Rails.application.credentials, this would ideally need to be fixed by getting secrets from environment variables probably through app config though its a bigger change that we intend to do and for now we have taken this approach of merging secrets with credentials and then just using credentials to stop the noise around deprecation warnings.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Copy link
Contributor

@baisa baisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Helpful change, thank you @syed-ali-tw

@syed-ali-tw syed-ali-tw merged commit 97c3df6 into main Nov 28, 2024
13 checks passed
@syed-ali-tw syed-ali-tw deleted the fix-deprecation-warnings branch November 28, 2024 15:49
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