Nice episode Ryan, one thing, instead of using key.present? you should use: has_image_upload? since calling Painting.new.key will return uploads/<guid>/${filename} resulting in true when you call present?. It's documented in the README here: https://github.com/dwilkie/carrierwave_direct#uploading-from-a-remote-location
Nice episode Ryan, one thing, instead of using
key.present?
you should use:has_image_upload?
since callingPainting.new.key
will returnuploads/<guid>/${filename}
resulting in true when you callpresent?
. It's documented in the README here: https://github.com/dwilkie/carrierwave_direct#uploading-from-a-remote-location