ActiveRecord plugin to prevent destroy when associations are present