DEPRECATION WARNING: Passing conditions to delete_all is deprecated and will be removed in Rails 5.1.
To achieve the same use where(conditions).delete_all.
(called from block (2 levels) in build at /home/travis/build/rutan/potmum/app/builders/takeover_builder.rb:19)