Re: primaryKey in cake 2.0

2011-11-14 Thread sixthpoint
I looked through my code and found that it is just not throwing a error when linking models, I had "Users" instead of "User" as my model in the association. For some reason i thought it should throw a error if the model did not exist? Is this a issue or done intentionally? On Nov 13, 11:14 pm, Gra

Re: primaryKey in cake 2.0

2011-11-13 Thread Graham Weldon
Can you provide a code sample to reproduce this? Cheers, Graham Weldon http://grahamweldon.com e. gra...@grahamweldon.com p. (+61) 0407 017 293 Skype: grahamweldon On Monday, 14 November 2011 at 3:50 PM, sixthpoint wrote: > I have been running into a issue once upgrading to cake 2.0. When > de

primaryKey in cake 2.0

2011-11-13 Thread sixthpoint
I have been running into a issue once upgrading to cake 2.0. When defining a HABTM association and then setting the primaryKey var in each of my models. It fails to utilize my altered primary key in the association. It resets to the default "id" field as the primary key in each model. Has there bee