Re: A Friendship relationship question.

2009-12-02 Thread Nick Arnett
On Wed, Dec 2, 2009 at 6:08 PM, Jeffrey Taggarty wrote: > Hi guys, thanks for responding. I didn't want to have to create 2 > entries in the database for a friendship because of the obvious > integrity issues such as friendship deleting and friendship > relationships to files etc seems like a

Re: A Friendship relationship question.

2009-12-02 Thread Jeffrey Taggarty
Hi guys, thanks for responding. I didn't want to have to create 2 entries in the database for a friendship because of the obvious integrity issues such as friendship deleting and friendship relationships to files etc seems like a lot of unnecessary duplication. I didn't see that symmetrical m2m

Re: A Friendship relationship question.

2009-12-02 Thread Nick Arnett
On Wed, Dec 2, 2009 at 2:04 PM, Jeffrey Taggarty wrote: > Hi, > I am having difficulties with listing this type of data. Scenario is > as follows: > > 1) user1 add's a friend called user2 > 2) user2 confirms that user1 is his friend > > what should happen is user2 and user1 see's each others name

Re: A Friendship relationship question.

2009-12-02 Thread aa56280
Couple things: 1) Your query is not working because if user1 added user2, then you should be looking at from_friend not to_friend. 2) You haven't posted the code where you're creating friendships but I'm assuming you are not creating symmetrical friendships there. That is, if user1 adds user2, yo

A Friendship relationship question.

2009-12-02 Thread Jeffrey Taggarty
Hi, I am having difficulties with listing this type of data. Scenario is as follows: 1) user1 add's a friend called user2 2) user2 confirms that user1 is his friend what should happen is user2 and user1 see's each others name in their friends list. What's happening now is I am able to add user2 t