Ruby deactivate