Cleaned up dummy class.
Moved ClassMethods to precede class definition.
Implemented validates_associated validator.
Fixed issue with setting validator options in Rails 4.1.