Handling Slow Cascading Deletes In Rails
We all inevitably face the compromise of handling cascading deletes in Rails. Do we do dependent destroys (which are ideal but slow) or just let the database handle the cleanup (but loose the lifecycle control)? Neither is idea, so we made a simple utility for how we’ve been doing those types of deletes that’s somewhere in the middle. We call it Miss Hannigan.
Post a comment