if you just do params.require(:wiki).permit(:title, :body, :is_private, :collaborator_ids) it barfs?

I don't see the need to pass a value to collaborator_ids, is what I mean. Just the key should be enough