View on GitHub

Database cleaner

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

Download this project as a .zip file Download this project as a tar.gz file

Database Cleaner v1.4.0 is out!

The latest version contains a couple of new features, some performance upgrades and, of course, bug fixes. More specifically:

New features

Better performance

Bug fixes

Roadmap to v2.0

Apart from v1.4.0 there has been some discussion about v2.0 and the possibility of splitting the gem into a core with sub-gems for the various ORMs (more here).