I'm confused about the new Containable behavior, the missing Bindable
behavior and how to do a HABTM find with conditions.

Here's the set up, simplified.

Category model
habtm => Album

Album model
hasMany = Image

I want to return all the Albums (Images included) where conditions are
Category.id = 1 AND Album.active = 1.

I've tried going at it different ways without success. Does anyone
have a suggestion?

-Corie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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