How to assign a remote file to Carrierwave?

后端 未结 4 1545
感情败类
感情败类 2020-12-08 01:19

I have video model with the following definition:

class Video
  require \'carrierwave/orm/activerecord\'
  mount_uploader :attachment, VideoUploader
  mount_         


        
4条回答
  •  猫巷女王i
    2020-12-08 01:31

    At the end of this episode (7:35), Ryan Bates adds a remote_image_url in a file form upload:

    http://railscasts.com/episodes/253-carrierwave-file-uploads

提交回复
热议问题