database_flusher - a tiny and fast database cleaner
https://github.com/ebeigarts/database_flusher
- No monkey patching - uses
ActiveSupport::NotificationsandMongo::Monitoring::Globalto catchINSERTstatements - Fast
:deletionstrategy that cleans only tables/collections whereINSERTstatements were performed - Faster
disable_referential_integrityfor PostgreSQL - Executes multiple
DELETEstatements as one query with ActiveRecord - Supports only one database for each ORM
Post a comment