So I want to allow_destroy nested attributes ONLY if they have no associations. How can it be accomplished?
EXAMPLE:
course.rb
has_many :enrollmen