That's cool. I had just assumed that it grabbed it automatically, but
I guess we all know what assuming does. Thanks for the assistance
though, I'm finally back on track with the project again.

On Feb 16, 2:19 pm, brian <[email protected]> wrote:
> On Mon, Feb 16, 2009 at 1:50 PM, Arak Tai'Roth <[email protected]> 
> wrote:
>
> > I can't believe that was it. I thought it automatically grabbed the
> > status_id like it does for the relationships.
>
> > Thank you for your help.
>
> I'm not sure if this is a bug or not.  I noticed this a couple of
> weeks ago and meant to look into it further but never did. When I saw
> your array set up like that with contain it jogged my memory. Luckily,
> I remembered which model I noticed this in and saw that it was
> basically the same setup. It's weird that one doesn't need to set the
> foreign key in the fields array for the middle model. I'll try to take
> some time to compare the SQL Cake is generating to try to figure out
> if it's by design or not.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to