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/f23b1825050ad543/e793267f42fa77fd?#e793267f42fa77fd

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?

What happens is I suddenly get the following error:
SQL Error in model Job: 1109: Unknown table 'JobsTags' in where clause

I've already declared $useTable in the JobsTags class and as I've
mentioned earlier, it already works with a hasOne association.

Any help? :-)
Thanks!

_bit


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