check_box destroy la de xoa di option . Allow destroy: true set o model la chua du de xoa . Phai pass :_destroy vao word_params (options_attributes: [:id, :word_id, :text, :is_correct, :_destroy]) ==> phai truyen vao nhu the nay moi co the xoa duoc option