From a35ab779d324770cbfde58f32f245814341093a5 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 14 Oct 2011 17:16:42 -0400 Subject: [PATCH] fixes #116: tag category expiration bugs --- app/models/tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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