In the controller should be ok: if ($this->Model->OtherModel->validates())
On Tue, Apr 29, 2008 at 5:50 AM, ygneo <[EMAIL PROTECTED]> wrote: > > In a previous thread: > > http://groups.google.com/group/cake-php/browse_thread/thread/97acdfdf95cf0e4e/ff308fb337d08fdc?lnk=gst&q=ygneo#ff308fb337d08fdc > > I was asking about validating related models. > > It seems that I have to call the validation explictly, but where? In > the controller, in the beforeSave of the "parent" model?? > > Any idea? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
