From 2cc556150447e7580bc4c611fa74dde0fa4c7528 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 24 Jun 2019 14:57:20 +0800 Subject: [PATCH] DEV: Correct description in `posts:missing_uploads` rake task. --- lib/tasks/posts.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/posts.rake b/lib/tasks/posts.rake index 6f441068593..a0be9c789e8 100644 --- a/lib/tasks/posts.rake +++ b/lib/tasks/posts.rake @@ -471,7 +471,7 @@ def missing_uploads missing[:post_uploads].each do |id, uploads| post = Post.with_deleted.find_by(id: id) if post - puts "#{post.full_url} giving up on #{uploads.length} upload/s" + puts "#{post.full_url} giving up on #{uploads.length} upload(s)" PostCustomField.create!(post_id: post.id, name: Post::MISSING_UPLOADS_IGNORED, value: "t") else puts "could not find post #{id}"