title: How to assign a remote file to Carrierwave?
body: <p>I have video model with the following definition:</p>
  
  <pre><code>class Video
    require 'carrierwave/orm/activerecord'
    mount_uploader :attachment, VideoUploader
    mount_uploader :attachment_thumbnail, VideoThumbnailUploader
    ...
  end
  </code></pre>
  
  <p>When I upload a video file. It also sends the file to our encoding service Zencoder, which encodes the video file and creates a thumbnail for it.</p>
  
  <p>Normally, I could do something like @video.attachment.url, which will return the path of the video file. I'd like to do the same thing with the thumbnail. i.e. @video.attachment_thumbnail.url</p>
  
  <p>However, since the attachment is created by our encoding service, which also uploads it to a specified S3 bucket. How do I assign the attachment to the attachment_thumbnail column for the record?</p>
  
  <p>Can I simply do something like:</p>
  
  <pre><code>@video.update_attributes(
    :attachment_thumbnail =&gt; 'https://bucket_name.s3.amazonaws.com/uploads/users/1/video/1/thumb.png'
  )
  </code></pre>
  
  <p>Is it possible to assign files like this to Carrierwave?</p>