DatabaseCleaner / database_cleaner

Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.
https://www.rubydoc.info/github/DatabaseCleaner/database_cleaner
MIT License
2.94k stars 484 forks source link

Update for trilogy #707

Closed petergoldstein closed 10 months ago

petergoldstein commented 1 year ago

Propagate trilogy changes back to database_cleaner.

I'm not entirely sure these methods are used by this gem - they seem ActiveRecord specific - but propagating back (with a minor change, since ActiveRecord is not generally present) for consistency.