Why Rails `dependent: :destroy` Gets Painfully Slow, with a Simple Example
What happens dependent: :destroy (so-called cascade delete) is handy: delete the parent record, and its child records go with it. But if the children have callbacks , those callbacks fire on every single delete.