execution_time icon indicating copy to clipboard operation
execution_time copied to clipboard

Deprecation Warning after Rails 7.1 upgrade.

Open Houwarnick opened this issue 4 months ago • 0 comments

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.

Houwarnick avatar Feb 21 '24 18:02 Houwarnick