Actually, I didn't look closely enough at your current associations.
You don't seem to want any HABTM - you mentioned a booking is only for
a single user, resource and time.  So you should have

User hasMany Booking
Resource hasMany Booking
Time hasMany Booking

Booking belongsTo User, Resource, Time

However, still think about ditching the Time table.


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