diff --git a/app/models/tag.rb b/app/models/tag.rb index d43fcfe23..c7a2ac906 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -95,8 +95,8 @@ class Tag < ActiveRecord::Base if tag if category > 0 - tag.update_category_cache tag.update_column(:category, category) + tag.update_category_cache end tag