Hacking the core really wouldn't do it for me, I guess the only proper way to use Cake is with hardcoded queries.
As without this simple ability I'd rate the database abstraction as "broken". Has it really be a year since the bug was posted??? Nothing? Am I choosing the wrong framework? -Ben On Dec 11, 7:58 pm, "websta*" <[EMAIL PROTECTED]> wrote: > Yeah this is one that has plagued me too. I found some code for a workaround > by defining a simple extra association in your model, and requiring some > small changes to the model::find method that can be implemented in your > app_model. I found this code in the bakery I think, modded it a bit though > to bring it up to date a bit. I don't have details or code with me right > now, but will dig it out. > > While far from being what I would consider a complete or ideal fix to this, > it got me up and running in the time frame I had, as I too came up short > looking for clues on this. > > Id be keen to hear any comments on this*, does it really not work, or is > there something simple some of us are missing?? > > *that is searching a model based on its habtm associated model records. > > > > -----Original Message----- > From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf > > Of Mr-Yellow > Sent: Tuesday, 11 December 2007 7:17 p.m. > To: Cake PHP > Subject: findAll, associations, HABTM > > https://trac.cakephp.org/ticket/633https://trac.cakephp.org/ticket/1209http://groups.google.pl/group/cake-php/browse_thread/thread/d9468ba78... > > So it's broken and has been for a year? > > This is really odd..... to my thinking, without findAll working > properly then the whole database abstraction is a waste of time and > it's better to use raw SQL in controllers then use Cakes models that > don't really connect? > > -Ben > > __________ NOD32 2714 (20071210) Information __________ > > This message was checked by NOD32 antivirus system.http://www.eset.com- Hide > quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---