Yeap, I know about the Containable behaviour.
The problem with retrieving the categories is another.
If I get all the categories, I'm gonna probably need to retrieve the
location from the offers associated with the Category.

If I have 100 offers for a category (with the same location), I'm gonna get
that location a hundred times.
-- 
View this message in context: 
http://old.nabble.com/3-models-and-search-condition-tp28866040p28866287.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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