Saturday, January 31, 2009

Re: Upgrade to Cake 1.2.1 stable problems

Why is there a dollar sign before the model? Are you calling a model
dynamically? $this->$documentsTagsModel?

On Jan 31, 12:40 pm, Mathew <nfoscar...@yahoo.com> wrote:
> Looks like they have changed HABTM so that it calls "new AppModel" for
> the join table. Even if a model exists that is of the same name as the
> join table. So if I list the HABTM table and the join table in my uses
> for the controller, then it will not load the associations for the
> join model.
>
> Is this a bug?
>
> I might be able to work around this by renaming my join model to
> something else, but then it no longer follows the Cake naming
> convention.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: