Merge pull request #13829 from qsymmachus/improve_validates_with_example

Reordered classes in AR Validation #validates_with example [ci skip]