title: Paperclip AWS::S3::Errors::NoSuchKey error on copy
body: <p>I'm trying to copy avatars from a different model into my <code>User</code> model but am getting an <code>AWS::S3::Errors::NoSuchKey</code> error when I try to do that.</p>
  
  <p>Here's the code that throws the error:</p>
  
  <pre><code>old_avatar = OldAvatar.find(1)
  user = User.find(old_avatar.user_id)
  user.avatar = old_avatar.avatar
  user.save
  </code></pre>
  
  <p>The <code>user.avatar = old_avatar.avatar</code> line is what throws it.</p>
  
  <p>Here is my <code>OldAvatar</code> model...</p>
  
  <pre><code>has_attached_file :avatar, 
                      :styles =&gt; { 
                        :t =&gt; '20x20#',
                        :s =&gt; '40x40#',
                        :m =&gt; '50x50#',
                        :b =&gt; '80x80#',
                        :f =&gt; '100x100#' 
                      }, 
                      :storage =&gt; :s3, 
                      :s3_credentials =&gt; { 
                        :access_key_id =&gt; APP_CONFIG['s3_access_key_id'], 
                        :secret_access_key =&gt; APP_CONFIG['s3_secret_access_key']
                      },
                      :path =&gt; ":attachment/:id/:basename:normalized_style.:extension", 
                      :url =&gt; "/:attachment/:id/:basename:normalized_style.:extension",
                      :bucket =&gt; "old_bucket"
  </code></pre>
  
  <p>And here is my <code>User</code> model...</p>
  
  <pre><code>has_attached_file :avatar, 
                        :styles =&gt; { 
                          :t =&gt; '20x20#',
                          :s =&gt; '40x40#',
                          :m =&gt; '50x50#',
                          :b =&gt; '80x80#',
                          :f =&gt; '100x100#'
                        },
                        :storage =&gt; :s3, 
                        :s3_credentials =&gt; { 
                          :access_key_id =&gt; APP_CONFIG['s3_access_key_id'], 
                          :secret_access_key =&gt; APP_CONFIG['s3_secret_access_key']
                        },
                        :bucket =&gt; "new_bucket",
                        :path =&gt; ":attachment/:id_partition/:basename_:style.:extension",
                        :url =&gt; "/:attachment/:id_partition/:basename_:style.:extension"
  </code></pre>
  
  <p>Do note, I'm copying between two different buckets (as noted in the different model model code), so maybe that has something to do with it?</p>