(Quick Reference)

removeFrom*

Purpose

Opposite of the addTo method in that it removes instances from an association.

Examples

def author = Author.findByName("Stephen King")

def book = author.books.find { it.title == 'The Stand' }

author.removeFromBooks(book)