Let's say, I have three models named "stores", "consumers",
"favorite_stores"

What's the correct association I should declear?

Here's the defination I made:
- store hasAndBelongsToMany consumers.
- consumers hasAndBelongsToMany stores.
- consuemr hasMany favorite_stores.
- sotre belongsTo favorites_stores.

Are these needed?
- favorites_stores belongsTo stores.
- favorites_stores belongsTo consumers.

Stonez

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to