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 after Rails 7.1 upgrade. #7

Open
Houwarnick opened this issue Feb 21, 2024 · 0 comments
Open

Deprecation Warning after Rails 7.1 upgrade. #7

Houwarnick opened this issue Feb 21, 2024 · 0 comments

Comments

@Houwarnick
Copy link

After our project was upgraded to Rails 7.1 I've noticed deprecation warnings when using the rails console.

[1] pry(main)> test = 'foo'
DEPRECATION WARNING: ActiveRecord::LogSubscriber.reset_runtime is deprecated and will be removed in Rails 7.2. (called from <main> at bin/rails:4)
DEPRECATION WARNING: ActiveRecord::LogSubscriber.reset_runtime is deprecated and will be removed in Rails 7.2. (called from <main> at bin/rails:4)
[METRICS]  Completed in 0.5ms | Allocations: 207
=> "foo"

Unsure what method to swap to of if there even is one. But thought I'd at least make an issue for it.

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

No branches or pull requests

1 participant