What is the best way to delete all children of a parent in a controller.
For example I have restaurants with a has_many association to
boundaries. I would like to do something like this:
What is the best way to delete all children of a parent in a controller.
For example I have restaurants with a has_many association to
boundaries. I would like to do something like this: