todo hint added
This commit is contained in:
parent
baaa419f00
commit
afba572dcd
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ namespace :debshots do
|
||||||
#Rails.logger.level = Logger::DEBUG
|
#Rails.logger.level = Logger::DEBUG
|
||||||
|
|
||||||
Rails.logger.info "Iterating over screenshots"
|
Rails.logger.info "Iterating over screenshots"
|
||||||
|
# TODO: fix for Shrine - this only works for Paperclip
|
||||||
Screenshot.all.each do |screenshot|
|
Screenshot.all.each do |screenshot|
|
||||||
# Check that the file actually exists
|
# Check that the file actually exists
|
||||||
path = screenshot.image.path(:large)
|
path = screenshot.image.path(:large)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue