From c8ff2560ea3802289b6283dd2a5af84ab7ec0732 Mon Sep 17 00:00:00 2001 From: Parziphal Date: Sun, 3 Nov 2013 12:17:11 -0500 Subject: [PATCH] Post had to be saved again after create --- app/models/Post.php | 1 + 1 file changed, 1 insertion(+) 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(); } }