> Dardo beat me to it...I was going to suggest the same thing: a custom > validation method to make sure you have a unique "slot name"
No need to make it custom, it's built into 1.2 Model::isUnique() and can be accessed as a validation rule: 'rule' => 'isUnique' It works great, I'm using it for usernames/email addresses. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
