You can specify the table in your model $hasAndBelongsToMany array (see 'joinTable' field).
http://book.cakephp.org/view/83/hasAndBelongsToMany-HABTM What do you have in there now for those 2 models? On Mon, Feb 2, 2009 at 12:06 PM, persivo_cunha <ricky...@gmail.com> wrote: > > Hello, > > i'm using HABTM but, how i didn't know it, my db doesn't follow the > cake's convention. I have two tables called 'objetos_aprendizagens' > and 'usuarios', but my join table is 'objeto_aprendizagem_autores' . > How can i use it without change my db? > > Thanks. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---