FIX: reload the 'post' model to retrive raw field value.

FIX: reload the ‘post’ model to retrive raw field value.

diff --git a/Gemfile.lock b/Gemfile.lock
index c3d07af..a783adf 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -570,4 +570,4 @@ DEPENDENCIES
   webpush
 
 BUNDLED WITH
-   2.0.1
+   1.17.3
diff --git a/lib/tasks/posts.rake b/lib/tasks/posts.rake
index 0bde9b5..7e756b7 100644
--- a/lib/tasks/posts.rake
+++ b/lib/tasks/posts.rake
@@ -452,6 +452,7 @@ task 'posts:missing_uploads' => :environment do
                   upload_id = upload.id
                   DbHelper.remap(UrlHelper.absolute(src), upload.url)
 
+                  post.reload
                   post.raw.gsub!(src, upload.url)
                   post.cooked.gsub!(src, upload.url)

GitHub sha: 1724c277