Try this in the console instead
1 |
Post.all.each { |post| begin; post.image.reprocess! && post.save; rescue; post.image.clear; end; } |
Try this in the console instead
1 |
Post.all.each { |post| begin; post.image.reprocess! && post.save; rescue; post.image.clear; end; } |