cakephp/cakephp — pull request #957 by bar (2012-11-13 16:53:07+00:00)
Title: Allow $options['fieldList'] to be mangled/modified inside beforeValidate().

Right now, ```ModelValidator::errors()``` triggers ```ModelValidator::_triggerBeforeValidate()``` with a copy of ```$options```.

Later, ```ModelValidator::_triggerBeforeValidate()``` dispatches an event with those options, but if modified inside ```Model::beforeValidate()``` they are never updated inside ```ModelValidator::errors()```, where actual validation occurs.

This is handy when needing to update $fieldList _after_ a ```Model::save()``` is triggered.