The repair_validations helper was not working correctly before because
it only cleared the validations that created :validate callbacks. This
didn't include the validates created by validates_with, so I've added a
method to clear all validations.
Merge pull request #9363 from wangjohn/fix_repair_validations

Fixed the repair_validations helper method.