Well i figured out why cake was trying to query from a table that doesn't exist. But it's unrelated to my HABTM issue. The query debugging info now looks like this:
2 queries took 0 ms Nr Query Error Affected Num. rows Took (ms) 1 SELECT id FROM comments ORDER BY id DESC LIMIT 1 1 1 0 2 INSERT INTO `comments` (`body`,`user_id`,`created`) VALUES ('test','1','2006-07-26 16:13:02') 1 0 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---