cakephp/cakephp — pull request #3627 by rchavik (2014-06-03 07:33:11+00:00)
Title: ORM\Associations: Add removeAll() method

Useful in cases where you want to rebind associations manually.

In my case, I was extending the AcoTable model and wanted to clear out all associations setup by parent::initialize().

I'll add test if this is desired.