Skip to content

DatabaseCleaner/database_cleaner-active_record

View on GitHub ↗Related repositories →

Strategies for cleaning databases using ActiveRecord. Can be used to ensure a clean state for testing.

active 2024-09-212026-02-12 (UTC)

Partial coverage13,877 / 16,574 hourly files (84%) · 2 absent upstream · 2,696 failed, retryable2024-09-192026-08-11 (UTC)— sampled evenly across the window, so rankings and trends hold; absolute counts scale up.
Events
59
Pushes
12
Pull requests
10
Issues
5
Stars
12
Forks
3

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

ContributorContributionsPushesPRsComments
etagwerker181032
pat4012
arielj4210
nnishimura3021
sshaw2001
nerdrew2011
patrobinson2001
jrafanie1001
mlarraz1001
swelther1001
stanhu1010
tsankaste1010
davisinfo1001
RyanSnodgrass1001

Recent activity

Latest issues, pull requests and releases

  • Pull request#129stanhu2025-12-19 08:10
  • Issue comment#128jrafanie2025-10-16 18:33
    SeededDeletion Strategy for DatabaseCleaner ActiveRecord
  • Issue comment#127RyanSnodgrass2025-09-26 01:21
    NoMethodError: undefined method `lock' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x0000000105b1e008>
  • Issue comment#127sshaw2025-08-17 18:49
    NoMethodError: undefined method `lock' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x0000000105b1e008>
  • Issue comment#127etagwerker2025-08-15 20:07
    NoMethodError: undefined method `lock' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x0000000105b1e008>
  • Issue#127sshaw2025-08-15 17:47
    NoMethodError: undefined method `lock' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x0000000105b1e008>
  • Issue comment#121etagwerker2025-07-30 18:04
    Fixes Issue #120
  • Pull request#121etagwerker2025-07-30 17:51
  • Pull request#122etagwerker2025-07-30 17:37
  • Issue#120etagwerker2025-07-30 17:36
    pre_count_truncate_tables is failing
  • Issue comment#122nerdrew2025-07-28 17:50
    release_connection after cleaning
  • Issue#126aalong-tr2025-07-18 23:08
    v2.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:51
    Fixes Issue #120
  • Pull request#122nerdrew2025-06-04 05:00
  • Issue comment#120swelther2025-05-20 05:03
    pre_count_truncate_tables is failing
  • Issue comment#121mlarraz2025-05-17 01:25
    Fixes Issue #120
  • Issue comment#5patrobinson2025-05-13 23:00
    Postgres 9.6.16 deadlocks during cleaning
  • Issue#5patrobinson2025-05-13 23:00
    Postgres 9.6.16 deadlocks during cleaning
  • Pull request#117tsankaste2025-01-19 11:36
  • Issue comment#115nnishimura2025-01-06 03:15
    Add 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.