What is the correct way to deal with selective association? e.g., I
have a 'order' model that belongsTo 'customer', 'product' models.  In
the list action of Orders Controller, I don't want the 'order' model
associated to anybody so I can return all the orders id faster.  When
viewing the individual order itself, I want 'order' associated with
'customer' and 'product' to get more detailed info.

Is creating two different 'order' models (one associated, one isn't)
the way to accomplish this?  Thanks.


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