CakePHP HABTM: Editing one item casuses HABTM row to get recreated, destroys extra data
- by leo-the-manic
I'm having trouble with my HABTM relationship in CakePHP.
I have two models like so: Department HABTM Location. One large company has many buildings, and each building provides a limited number of services. Each building also has its own webpage, so in addition to the HABTM relationship itself, each HABTM row also has a url field where the user…