Database_cleaner

на сайте с December 09, 2022 00:17
Database Cleaner is a set of gems containing strategies for cleaning your database in Ruby. The original use case was to ensure a clean state during tests. Each strategy is a small amount of code but is code that is usually needed in any ruby app that is testing with a database.