HABTM object destruction broken when using optimistic locking

I’m requesting the following commit be merged into the 3-2-stable branch. Thanks.

https://github.com/rails/rails/commit/2eb111815d5f7a86a7dbd317075e396c94ab2c3d