Lets say we have two models and relation between them:
This tutorial shows you how to safely remove records between relationships.