I would like to upload an image that was uploaded to S3 using carrierwave. The image is on the map model installed as a bootloader. I saw this answer , but could not get this solution to work. My code is:
#download image from S3 uploader = card.image
that the last line throws: "... threw an exception (undefined` body 'method for nil: NilClass) ...
My carrier configuration is as follows:
#config/initializers/carrierwave.rb CarrierWave.configure do |config| config.storage = :fog config.cache_dir = "#{Rails.root}/tmp/upload" ... end
ruby ruby-on-rails amazon-s3 download carrierwave
joseph.hainline
source share