igorkasyanchuk / execution_time

How fast is your code? See it directly in Rails console.
https://www.railsjazz.com/
MIT License
115 stars 3 forks source link

Deprecation Warning after Rails 7.1 upgrade. #7

Open Houwarnick opened 7 months ago

Houwarnick commented 7 months ago

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.

PikachuEXE commented 3 weeks ago

Now broken in rails 7.2