Fix ActiveRecord::Base undefined method "delete_if"

ActiveRecord::Base doesn't include `delete_if` method, array does

EDIT: test on Spree 2.3.1 and Rails 4.1.2