Re: Relationship Confusion

2009-10-29 Thread John Andersen
Hi Dave, Look in the cook book at: http://book.cakephp.org/view/851/Multiple-relations-to-the-same-model There it is explained how to do it! Enjoy, John On Oct 29, 4:29 pm, "Dave" wrote: > Can someone help me out with this situation. Will try to explain as simple > as possible. > > User A c

Relationship Confusion

2009-10-29 Thread Dave
Can someone help me out with this situation. Will try to explain as simple as possible. User A creates an ad => he selling a lawnmower (Ads) User B views the ad belonging to User A and wants to click "Interested" which will make a record in the DB table called "Interests" I need the table to

Re: Relationship confusion

2009-06-02 Thread Marcelo Andrade
On Sun, May 31, 2009 at 9:45 PM, Dave Maharaj :: WidePixels.com wrote: > This is fairly simple question but I think saying it in my head and hearing > it sounds wrong and confusing me further. > > "User" signs up and selects the "Group" they are going to belong to as they > can only belong to one

RE: Relationship confusion

2009-05-31 Thread Dave Maharaj :: WidePixels.com
separate profile for each user based on the role/group they have. What is the best way to set that up? Dave -Original Message- From: brian [mailto:bally.z...@gmail.com] Sent: May-31-09 11:02 PM To: cake-php@googlegroups.com Subject: Re: Relationship confusion role, group ... pretty much the

Re: Relationship confusion

2009-05-31 Thread brian
role, group ... pretty much the same thing, no? On Sun, May 31, 2009 at 8:45 PM, Dave Maharaj :: WidePixels.com wrote: > This is fairly simple question but I think saying it in my head and hearing > it sounds wrong and confusing me further. > > "User" signs up and selects the "Group" they are go

Relationship confusion

2009-05-31 Thread Dave Maharaj :: WidePixels.com
This is fairly simple question but I think saying it in my head and hearing it sounds wrong and confusing me further. "User" signs up and selects the "Group" they are going to belong to as they can only belong to one group...sounds fine when you say it out load "Group" has many "Users".sounds