I imagine that you'd see some problems when doing find() from one of the models that included associations to the other. But, if your find conditions didn't refer to the other, I suppose it might work alright. Why would you want to do this, though?
Anyway, did you try it? Are you seeing any SQL errors? On Mon, Feb 2, 2009 at 7:26 AM, persivo_cunha <[email protected]> wrote: > > Does anyone know if there is some trouble if, in an one-to-many > relationship, i don't put $hasMany variable in one of the models, but > to put $belongsTo in the other. Is this right? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
