add affiliate.save(validate: false) to saveTraining action