automatically identify ad type

This commit is contained in:
albert
2011-12-21 18:41:17 -05:00
parent 5e3b243b67
commit 67448d4636
4 changed files with 10 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ private
tag_implication = TagImplication.where("antecedent_name = ? and consequent_name = ?", token[1], token[2]).first
raise "Implication for #{token[1]} not found" if tag_implication.nil?
tag_implication.destroy
else
raise "Unknown token: #{token[0]}"
end