database_cleaner-active_record
database_cleaner-active_record copied to clipboard
Support disallowing permanent connection checkouts with Rails 7.2
Context: https://github.com/rails/rails/pull/51349
Ensures that applications using config.active_record.permanent_connection_checkout = :disallowed are supported from Rails 7.2 onwards.
There's one more usage of .connection but that seems to be getting removed in #101.