So what I've figured out (i'm sure this is really obvious but I'm new)
is that i can reach into the  associated models from the active model
and "unhook" what I don't need using unbind.  Previously I was under
the impression I could only unhook direct assocaitions in the top level
model i was currently interacting with.

This allows me to alter any associations in any method, and tailor my
result from a findAll call to only the details i need.  It still seems
like this is a bit of a hack.

I don't follow exactly how this approach (if i'm using the same
approach as johnpfisk) creates dependencies on the first model?  I'm
curious if you could explain that more.


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

Reply via email to