Strategies for cleaning databases using ActiveRecord. Can be used to ensure a clean state for testing.
active 2024-09-21 → 2026-02-12 (UTC)
Activity over time
Daily event counts in the loaded window
Line chart, 510 days from 2024-09-21 to 2026-02-12. Pushes: 12 total, peak 6 in a day. Pull requests: 10 total, peak 2 in a day. Issues: 5 total, peak 1 in a day. Comments: 13 total, peak 3 in a day. Stars: 12 total, peak 1 in a day.
- Pushes
- Pull requests
- Issues
- Comments
- Stars
Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.
Top contributors
Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity
| Contributor | Contributions | Pushes | PRs | Comments |
|---|---|---|---|---|
| etagwerker | 18 | 10 | 3 | 2 |
| pat | 4 | 0 | 1 | 2 |
| arielj | 4 | 2 | 1 | 0 |
| nnishimura | 3 | 0 | 2 | 1 |
| sshaw | 2 | 0 | 0 | 1 |
| nerdrew | 2 | 0 | 1 | 1 |
| patrobinson | 2 | 0 | 0 | 1 |
| jrafanie | 1 | 0 | 0 | 1 |
| mlarraz | 1 | 0 | 0 | 1 |
| swelther | 1 | 0 | 0 | 1 |
| stanhu | 1 | 0 | 1 | 0 |
| tsankaste | 1 | 0 | 1 | 0 |
| davisinfo | 1 | 0 | 0 | 1 |
| RyanSnodgrass | 1 | 0 | 0 | 1 |
Recent activity
Latest issues, pull requests and releases
- Pull request#129stanhu2025-12-19 08:10
- Issue comment#128jrafanie2025-10-16 18:33SeededDeletion Strategy for DatabaseCleaner ActiveRecord
- Issue comment#127RyanSnodgrass2025-09-26 01:21NoMethodError: undefined method `lock' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x0000000105b1e008>
- Issue comment#127sshaw2025-08-17 18:49NoMethodError: undefined method `lock' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x0000000105b1e008>
- Issue comment#127etagwerker2025-08-15 20:07NoMethodError: undefined method `lock' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x0000000105b1e008>
- Issue#127sshaw2025-08-15 17:47NoMethodError: undefined method `lock' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x0000000105b1e008>
- Issue comment#121etagwerker2025-07-30 18:04Fixes Issue #120
- Pull request#121etagwerker2025-07-30 17:51
- Pull request#122etagwerker2025-07-30 17:37
- Issue#120etagwerker2025-07-30 17:36pre_count_truncate_tables is failing
- Issue comment#122nerdrew2025-07-28 17:50release_connection after cleaning
- Issue#126aalong-tr2025-07-18 23:08v2.2.1 can overwrite DatabaseCleaner.strategy
- Issue#125arielj2025-07-07 21:48[REQUEST] Run tests against Rails 8.0
- Pull request#124arielj2025-07-07 19:09
- Pull request#114etagwerker2025-07-07 18:59
- Issue comment#121davisinfo2025-06-12 15:51Fixes Issue #120
- Pull request#122nerdrew2025-06-04 05:00
- Issue comment#120swelther2025-05-20 05:03pre_count_truncate_tables is failing
- Issue comment#121mlarraz2025-05-17 01:25Fixes Issue #120
- Issue comment#5patrobinson2025-05-13 23:00Postgres 9.6.16 deadlocks during cleaning
- Issue#5patrobinson2025-05-13 23:00Postgres 9.6.16 deadlocks during cleaning
- Pull request#117tsankaste2025-01-19 11:36
- Issue comment#115nnishimura2025-01-06 03:15Add option to specify CASCADE and RESTRICT for Truncation strategy
- Pull request#115nnishimura2025-01-06 03:15
- Pull request#118pat2025-01-06 02:43
Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 12 stars here means stars gained during the window, not the repo's star count.