Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SaniSoft Blog:
Multiple validation rules per model field while baking
Apr 29, 2008 @ 16:12:44

If you're a CakePHP user and have been frustrated by how this "bake" functionality doesn't allow for more than one validation rule on a given field, check out the new post on the SaniSoft blog (from Amit Badkas):

This is not much of a problem if you have only a few models but when you start to work on several dozen models in a project it becomes very tedious to open each and every model file to make changes.

The result of his frustration has come out in the form of a patch as a part of a new ticket in the CakePHP request submission process.

tagged: bake cakephp framework multiple validation rule patch feature

Link: