This brought the solution:
http://bakery.cakephp.org/articles/view/quick-tip-doing-ad-hoc-joins-in-model-find
Marco
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email
Hi guys,
i'm using some HABTM-relationships between models, from whom one is an
adaptation model. By switching the adaptation i want to set a kind of
master filter for example in beforeFilter of app_controller.php. But i
always receive a sql error because the adaptation code column isn't
part of