From afba572dcd482e49b8efd71fdfb8e5a241d0aeed Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sat, 13 Feb 2021 22:16:03 +0100 Subject: [PATCH] todo hint added --- lib/tasks/remove_broken_screenshots.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/remove_broken_screenshots.rake b/lib/tasks/remove_broken_screenshots.rake index d7969ce..552c128 100644 --- a/lib/tasks/remove_broken_screenshots.rake +++ b/lib/tasks/remove_broken_screenshots.rake @@ -7,6 +7,7 @@ namespace :debshots do #Rails.logger.level = Logger::DEBUG Rails.logger.info "Iterating over screenshots" + # TODO: fix for Shrine - this only works for Paperclip Screenshot.all.each do |screenshot| # Check that the file actually exists path = screenshot.image.path(:large)