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, Graham Weldon <[email protected]> wrote:
> Can you provide a code sample to reproduce this?
>
> Cheers,
> Graham Weldonhttp://grahamweldon.com
> e. [email protected]
> 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
> > 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 been documentation about this error yet
> > reported? or a workaround?
>
> > --
> > Our newest site for the community: CakePHP Video 
> > Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group 
> > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to