cakephp/cakephp — pull request #692 by shama (2012-06-12 06:48:43+00:00)
Title: Fix custom validation methods with CakeValidationSet

Ran into an error while working on Croogo. When `CakeValidationSet` is instantiated in `ModelValidator` it mistakenly thinks the constructor has a 3rd arg to set methods. It doesn't. Thus custom validation methods are never checked in `CakeValidationRule::process`. This PR fixes this.

Also a note... previously one could set `protected` validation methods. With the new validator custom validation methods must be `public`. If this is correct I can add a note to the docs.

http://travis-ci.org/#!/shama/cakephp/builds/1598610