This commit is contained in:
albert
2013-02-19 13:39:45 -05:00
parent a4864e93af
commit 3524c41baf

View File

@@ -138,6 +138,14 @@ class TagImplication < ActiveRecord::Base
status == "active"
end
def antecedent_tag
Tag.find_by_name(antecedent_name)
end
def consequent_tag
Tag.find_by_name(consequent_name)
end
def reload(options = {})
super
clear_parent_cache