pat / combustion

Simple, elegant testing for Rails Engines
MIT License
707 stars 51 forks source link

deprecation warning in Rails 7.1 on clear_active_connections! #132

Closed jrochkind closed 6 months ago

jrochkind commented 8 months ago

Rails: 7.1.1 Combustion: 1.3.7

DEPRECATION WARNING: Calling ActiveRecord::Base.clear_active_connections! is deprecated. Please call the method directly on the connection handler; for example: ActiveRecord::Base.connection_handler.clear_active_connections!

Triggered by Combustion.initialize! :all

ankane commented 8 months ago

Hi @jrochkind, this was fixed in c1bc7dadc498c970cc24f4630dda6fe4add3e6aa (but hasn't been released).

jrochkind commented 8 months ago

Thanks! Any plans for a release?

pat commented 6 months ago

As noted in #133, new release is finally out 😅