On Thu, Feb 12, 2009 at 1:56 PM, Jesse <[email protected]> wrote:
>
> This almost works, but I get an error when I add the 'recursive' => 2.
>
> Here is the error.
>
> Warning (512): SQL Error: 1054: Unknown column
> 'OnsaleCouponsOnsaleCouponsCategory.onsale_coupons_category_id' in
> 'where clause' [CORE/cake/libs/model/datasources/dbo_source.php, line
> 514]
>
> ...
>
> I think this is because I am unbinding the relationship, then trying
> to use the relationship. Any suggestions?

Yes--don't unbind an association and then try to use it.

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