rails/rails — pull request #10716 by apotonick (2013-05-22 00:04:19+00:00)
Title: Remove explicit respond_to? and Validator#setup call

This moves the setup process of validators into the constructor, pushing all knowledge about this into the validator class itself. Makes it easier to override internals in subclassed validators.