Rails 5 and ActiveRecord before_destroy callbacks
I recently stumbled in one of Rails 5 new breaking feature that somehow flew under my radar. It’s not a very recent change, still it’s the case that many others (at least at my company) missed it. I think that’ a good reason for talking a bit (more) about it: How requirements shaped my code, AKA Rails 5 and ActiveRecord before_destroy callbacks.
Post a comment