8 Matching Annotations
  1. Nov 2022
  2. Apr 2022
  3. Mar 2022
  4. Jan 2022
  5. Sep 2021
  6. Jun 2021
    1. For example, Database Cleaner for a long time was a must-have add-on: we couldn’t use transactions to automatically rollback the database state, because each thread used its own connection; we had to use TRUNCATE ... or DELETE FROM ... for each table instead, which is much slower. We solved this problem by using a shared connection in all threads (via the TestProf extension). Rails 5.1 was released with a similar functionality out-of-the-box.