Class: RecommendTag

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/ting_model/recommend_tag.rb

Instance Method Summary collapse

Instance Method Details

#sync_human_recommendObject



6
7
8
9
# File 'lib/ting_model/recommend_tag.rb', line 6

def sync_human_recommend
  HumanRecommendTag.destroy_all(tag_id: self.id)
  HumanRecommendCategoryTag.destroy_all(tag_id: self.id)
end