OK, here is a brief rundown of what I have:

Contracts model
Labor Categories model
Employees model

Contracts HABTM Labor Cats
Employees HABTM Labor Cats

What is the best way for me to find('list') for labor categories with
conditions of contract_id = X and employee_id = X? Doing 'conditions'
=> array('Contract.id') doesn't work because it doesn't connect to the
Contract or Employee models in the query.

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

Reply via email to