diff --git a/app/models/upload.rb b/app/models/upload.rb index 87bc14d39da..0453578e889 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -274,7 +274,7 @@ class Upload < ActiveRecord::Base remap_scope ||= begin Post.with_deleted - .where("raw ~ '/uploads/#{db}/\\d+/' OR raw ~ '/uploads/#{db}/original/\d{1}/'") + .where("raw ~ '/uploads/#{db}/\\d+/' OR raw ~ '/uploads/#{db}/original/\\d{1}/'") .select(:raw, :cooked) .all end