Re: CakePHP should support better validation rules definition

2012-01-11 Thread jeremyharris
It would be cool to see a plugin that did this. Or, feel free to post an RFC ticket on lighthouse. Like Thiago said, it would be great if you also backed it up with code :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions

CakePHP should support better validation rules definition

2012-01-10 Thread datgs
Hi all, I think CakePHP should support for better way to define validation rules. Like Yii::Model::rules() definition. There are many benefits from it: 1/ Shorter rule definition ( we can group the same rule the same definition) 2/ The rules' parameters are easier to be changed. (Sometime my

Re: CakePHP should support better validation rules definition

2012-01-10 Thread Thiago Belem
Talking is cheap, show me the code! :-) -- Thiago Belem, Desenvolvedor WEB Enviado do meu Android Em 11/01/2012 02:40, datgs giangson...@gmail.com escreveu: Hi all, I think CakePHP should support for better way to define validation rules. Like Yii::Model::rules() definition. There are many