Fix warning: mismatched indentatmmismatched indentations at 'end' with 'def'
Merge pull request #9800 from kennyj/fix_warning_20130319

Fix warning: mismatched indentatmmismatched indentations at 'end' with 'def'
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.