I think you need a conditional here that says if @tag.destroy and then respond accordingly if the deletion of the tag fails. Right now the user will always see "Tag was successfully deleted" regardless of whether or not the tag was actually deleted.