Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

David Wilkie's Profile

GitHub User: dwilkie

Site: chibitxt.me

Comments by David Wilkie

Avatar

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