On Thu, Sep 10, 2009 at 5:09 AM, Dr. Loboto <drlob...@gmail.com> wrote:
>
> Cake's "isUnique" method handles create & update situations well (so
> you do not need "on" => "create" at all). Are you sure that you make
> update? It is the common error - do not provide ID to model when want
> update and it makes create instead. And do not "respect" the key "on"
> of course because it makes create actually.
>

Sorry, I forgot to reply earlier. The problem was all mine. I'd
included the ID but it was for the wrong model (cut & paste) so, as
expected, Cake treated it like create.

--~--~---------~--~----~------------~-------~--~----~
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