How to delete all user roles in Kohana 3-Collection of common programming errors
According to version 3.1.3.1 code for Kohana_ORM class, the ORM method “remove($alias, $far_keys=NULL)” if you do not pass the second parameter, it will destroy all related entries.
$user->remove('roles');
Originally posted 2013-11-27 11:53:11.