I am building a review system with a model like this one:

users <-> reviews <-> items (<-> means HABTM)

Each item also has a link to the user who added it to the DB.

Each item has links to attributes tables (like colors, countries, etc.)

Each user is also related to some other tables.

My problem is that when I get the reviews with a recursive value of 1,
I get the user and item for each review but I don't get the attributes
values for the item. If I set the recursive value to 2, I get those
attributes values, but I also get all relationship from the user, which
brings back way too much data.


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