This project is archived and is in readonly mode.

#6629 new
Frederick Cheung

HABTM destroy deletes record before associated records

Reported by Frederick Cheung | March 27th, 2011 @ 12:14 AM | in 3.x

#6191 reordered how destroy works with habtm associations, with the undesirable side effect of breaking use of foreign keys with such association.

The patches on this ticket (one for master & one for 3-0-stable) implement the solution proposed by José Valim + tests

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>