Hello, I’ve submitted a patch that tests and fixes destroy_all behavior.
The regression is that, in Rails 3, destroy_all
always returned an empty array instead of the destroyed records. It slipped through because this behavior was never tested. I’ve added tests for master and 2-3-stable branches.
It’s a particularly nasty bug in my opinion. Thanks