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

rspec generating secrets warning #294

Closed
ybakos opened this issue Oct 20, 2023 · 3 comments
Closed

rspec generating secrets warning #294

ybakos opened this issue Oct 20, 2023 · 3 comments
Assignees
Labels
Blocked

Comments

@ybakos
Copy link
Member

ybakos commented Oct 20, 2023

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/ybakos/projects/bda_explorer/config/environment.rb:5)

@ybakos
Copy link
Member Author

ybakos commented Oct 20, 2023

@ybakos ybakos added the Blocked label Oct 25, 2023
@ybakos
Copy link
Member Author

ybakos commented Oct 26, 2023

@ybakos
Copy link
Member Author

ybakos commented Oct 29, 2023

heartcombo/devise#5644

@ybakos ybakos self-assigned this Mar 25, 2024
ybakos added a commit that referenced this issue Mar 25, 2024
Rails is producing a deprecation warning when running tests because Devise
is reaching for secrets instead of credentials.

Explicitly set the devise secret key to prevent it from searching in
Rails.application.secrets.

See heartcombo/devise#5644

References #294
@ybakos ybakos closed this as completed Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked
Projects
None yet
Development

No branches or pull requests

1 participant