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

Person called GoodnessValidator before it was defined.
This change will compile the example correctly.
Merge pull request #13829 from qsymmachus/improve_validates_with_example

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