yah, okay..  I just figured that since I _could_ do it in the database
schema, I _should_ do it there.  I'll make a custom method.

thanks

On Mar 28, 2:12 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2008 at 12:09 PM, Dardo Sordi Bogado
>
> <[EMAIL PROTECTED]> wrote:
>
> >  Wouldn't be better to validate the uniqueness before saving the data?
>
> 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"
>
> --
> Chris Hartjes
> Internet Loudmouth
> Motto for 2008: "Moving from herding elephants to handling snakes..."
> @TheKeyBoard:http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to