What you are doing (the commented out line) is a good way to do it.
You could write a Judge mySave() function that does just that (saves
the User and Judge separately), but it wouldn't really be any better.

The only thing to improve it would be to manually run the
Judge->validates($this->data) and User->validates($this->data), before
attempting to save.  Otherwise the Judge may be updated, even when the
User has validation errors.


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

Reply via email to