DatabaseCleaner / database_cleaner-active_record

Strategies for cleaning databases using ActiveRecord. Can be used to ensure a clean state for testing.
MIT License
64 stars 63 forks source link

Do not load `ActiveRecord` too early #104

Closed fatkodima closed 4 months ago

fatkodima commented 6 months ago

The problem is well described in https://github.com/rails/rails/issues/46567. We are currently hitting this when upgrading to rails 7.2.

fatkodima commented 4 months ago

@etagwerker Rebased.