Hacker GitHub

← All repos

DatabaseCleaner/database_cleaner

View on GitHub ↗ ★ 2,964 Ruby

Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.

3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2016-07-29 · latest 2018-04-09

Mentions per year 3 mentions · busiest year 2018 (2)
20082026
  1. Those safeguards were added by Travis CI folks as one of their remediation action items: https://github.com/DatabaseCleaner/database_cleaner/pull/521
  2. …DB cleaner gem actually does check for `RAILS_ENV=production` and a `DATABASE_URL` that is remote: https://github.com/DatabaseCleaner/database_cleaner#safeguar... It's possible they disabled the localhost check at some point. Edit: It does…