RailsCasts Pro episodes are now free!

Learn more or hide this

David Wilkie's Profile

GitHub User: dwilkie

Site: chibitxt.me

Comments by David Wilkie


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