Re: What's wrong with my associations ?

2009-02-13 Thread Chris M
o: CakePHP Sent: Saturday, 14 February, 2009 5:11:42 PM Subject: Re: What's wrong with my associations ? Does your 'businesses' table have at least the following fields columns: id (PRIMARY KEY) name account_id and the accounts table: id (PRIMARY KEY) name On Feb 14, 1:33 pm, Ch

Re: What's wrong with my associations ?

2009-02-13 Thread ramonmaruko
Does your 'businesses' table have at least the following fields columns: id (PRIMARY KEY) name account_id and the accounts table: id (PRIMARY KEY) name On Feb 14, 1:33 pm, Chris Mc wrote: > OK, so I thought I had the association (ie relationship) part pretty > much sorted, and I'm following t

What's wrong with my associations ?

2009-02-13 Thread Chris Mc
OK, so I thought I had the association (ie relationship) part pretty much sorted, and I'm following the logic that I used before when creating a State/City example and it's working great most of the time. But I have this problem, and I'm not sure why: In English terms, a Business can have an Acco