On Jun 15, 3:47 am, Miles J <mileswjohn...@gmail.com> wrote:
> Agreed.
>
> The only one that looked remotely correct was the model validation.

That's pretty remote...

VALID_NOT_EMPTY should be 'notEmpty'
validateLength is a waste of space, where the built-in 'between' rule
should be used

Then there's the fact that the example has pages_controller loading
other models, let alone using $uses to do so, rather than
ClassRegistry::init in the relevant method.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to