fix bug where Rails 4.1 no longer has #delete_if method