Have you tried putting debugging/logging statements in there to make
sure the 'contain' key is set in that behavior's beforeFind()?

Also, try putting Contain before Restricted in your $actsAs array.

On Mon, Sep 7, 2009 at 9:38 AM, Adam<[email protected]> wrote:
>
> http://bin.cakephp.org/view/745851752
>
> This is giving me an error "SQL Error: 1054: Unknown column
> 'Permission.group_id' in 'where clause'", so it seems to be ignoring
> the contain.  Does anyone have any ideas?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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