take a look at tung's commit to know how to put database cleaner into your spec_helper file