execution_time
execution_time copied to clipboard
Deprecation Warning after Rails 7.1 upgrade.
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.