In fact, it seems that this built-in rule doesn't work! Why is this not yet fixed? We allways need to check unicity of a field in all of our applications...
On 3 avr, 16:07, jonknee <[EMAIL PROTECTED]> wrote: > > I'm trying to make a correct validation for my model. > > You can also just use the built-in isUnique function right from > validation. No need to roll your own on this one. (Just make the rule > like so: 'rule' => 'isUnique') --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
