This commit is contained in:
albert
2013-03-12 13:21:46 -04:00
parent 698c08f058
commit 71fe9def4f
3 changed files with 7 additions and 7 deletions

View File

@@ -52,8 +52,8 @@ class TagAlias < ActiveRecord::Base
def process!
update_column(:status, "processing")
update_posts
clear_all_cache
update_posts
update_column(:status, "active")
rescue Exception => e
update_column(:status, "error: #{e}")