add references to the categorize query thanks to rails 4
change the delete action in admin tags