diff --git a/app/models/Post.php b/app/models/Post.php index 3943c42..b4d2a0c 100755 --- a/app/models/Post.php +++ b/app/models/Post.php @@ -303,6 +303,7 @@ class Post extends Rails\ActiveRecord\Base $this->commit_tags(); $sql = "UPDATE posts SET cached_tags = ? WHERE id = ?"; self::connection()->executeSql($sql, $this->cached_tags, $this->id); + $this->save(); } }