This contains the work of @hbpoison, updated to work with the current version of DatabaseCleaner. https://github.com/bmabey/database_cleaner/pull/87/files
DatabaseCleaner will select the best default strategy based on the ORM you're using without having you to select it by yourself. * ActiveRecord, DataMapper => :transaction * MongoMapper, Mongoid, CouchPotato => :truncation