I m using ORM Auth module and it s difficult to figure out how to do it. I ve tried this case:
$user = ORM::factory( user , $id); $user->roles->delete_all();
And got error ErrorException [ Fatal Error ]: Call to undefined method Database_Query_Builder_Delete::join()
However $user->roles->find_all();
gives me exactly what i want.