Hi,

I have been having an issue with this for a little while now, and I am
really struggling to understand how its works to be honest.

So I have Users which HABTM Groups. And simply from this relationship
they have a Rank.

So I have a GroupsUsers table, in which I have:

id              group_id              user_id                rank_id.

I thought all I would need to do, is in my GroupsUser model have
hasOne Rank, but doing this does not retrieve any data, when I do a
search on Groups. I can retrieve all the groups by joining the table
in Users, but obviously this way cant be right.

Where am I going wrong?


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