I have a vacation approval model that has_many :entries is there a way that if I destroy one of those entries to have the rest destroyed? I also want to send one email if they are, but not one for each entry. Is there a way to observe changes to the collection as a whole?
Share
A callback probably isn’t a good choice because:
would produce some bad recursion.
It could be that you should do it in the controller: