Uploading a remote file url from Rails Console with Carrierwave
Take a look at the ‘Uploading files from a remote location‘ section on this page https://github.com/carrierwaveuploader/carrierwave CarrierWave should throw an error if the url of the location is invalid 2.1.3 :015 > image.remote_image_url = “http” => “http” 2.1.3 :016 > image.save! (0.2ms) BEGIN (0.2ms) ROLLBACK ActiveRecord::RecordInvalid: Validation failed: Image trying to download a file which … Read more