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

Deprecation warning #1231

Closed
goulvench opened this issue Apr 24, 2024 · 0 comments · Fixed by #1233
Closed

Deprecation warning #1231

goulvench opened this issue Apr 24, 2024 · 0 comments · Fixed by #1233

Comments

@goulvench
Copy link
Collaborator

Quand on lance les tests, on a plusieurs messages dont celui-ci:

DEPRECATION WARNING: 
 `Rails.application.secrets` is deprecated in favor of 
 `Rails.application.credentials` and will be removed in Rails 7.2. 
(called from <top (required)> at /Users/goulven/Sites/collectif-objets/config/environment.rb:7)

Il faut donc déplacer les secrets, et remplacer les appels Rails.application.secrets par Rails.application.credentials.

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 a pull request may close this issue.

1 participant