From faffb3f896ce9145cab249c0215be18a35d1881b Mon Sep 17 00:00:00 2001 From: Toks Date: Sun, 31 Mar 2013 08:34:24 -0400 Subject: [PATCH] fix extra space --- 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 386aa2124..7ef47f03c 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -139,7 +139,7 @@ class Tag < ActiveRecord::Base if category category_id = categories.value_for(category) - if category_id != tag.category && (CurrentUser.is_builder? || tag.post_count <= 100 ) + if category_id != tag.category && (CurrentUser.is_builder? || tag.post_count <= 100) tag.update_column(:category, category_id) tag.update_category_cache_for_all end