I have two models, Note and Group, with has_and_belongs_to_many relations. Many notes can be in one group, one note can belong to many groups.
How can i delete all notes belongs to only one group?
UPD:
Thanks, but i don't want to delete all notes in group. I want to delete notes, that belongs only to one group.