fixes #406
This commit is contained in:
@@ -138,6 +138,14 @@ class TagImplication < ActiveRecord::Base
|
|||||||
status == "active"
|
status == "active"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def antecedent_tag
|
||||||
|
Tag.find_by_name(antecedent_name)
|
||||||
|
end
|
||||||
|
|
||||||
|
def consequent_tag
|
||||||
|
Tag.find_by_name(consequent_name)
|
||||||
|
end
|
||||||
|
|
||||||
def reload(options = {})
|
def reload(options = {})
|
||||||
super
|
super
|
||||||
clear_parent_cache
|
clear_parent_cache
|
||||||
|
|||||||
Reference in New Issue
Block a user