On 1 mayo, 20:17, bit <[EMAIL PROTECTED]> wrote:
> I've reviewed the previous thread that covered HABTM filtering and got
> it to 
> work:http://groups.google.com/group/cake-php/browse_thread/thread/f23b1825...
>
> But if I understand this correctly, using a binded hasOne association
> would make the next find only retrieve one of the associated model.
> I've tried it and that is what seems to be happening. The problem is
> that I need all of the relevant associated model; not just one. So I
> tried replacing the hasOne binding with a hasMany binding. There
> shouldn't be any other difference in code, right?

No difference. except the rather massive functional one whereby one
works and the other doesn't ;). Don't name your dummy association the
same as any existing model association.

hth,

AD


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