I have a customers table and an addresses table, customers hasMany
addresses, that bit's easy.

But I want each customer to have a default address in the addresses
table. I have a field 'default_address_id' in the customer table. I
just can't get my head around how to use associations to link them.

Thank you in advance.

Duncan

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