Switched back to using reference to my fork of database_cleaner until a patched version of database_cleaner is released. I had to tweak database_cleaner for Rails 4, the changes were merged but there hasn't been a new release yet.