title: download images from s3
body: <p>I have 4000 images on my amazon s3. Now i need to download 3000 of them which are uploaded by specific user to my local. How can i achieve this. Thanks.</p>
  
  <p>Update:</p>
  
  <p>Url is something like that and it is public.
  <a href="http://s3.amazonaws.com/mybucket/photos/3/3acb36fc9a540e6543ad62b4a61f76bb.jpg" rel="nofollow">http://s3.amazonaws.com/mybucket/photos/3/3acb36fc9a540e6543ad62b4a61f76bb.jpg</a></p>
  
  <pre><code>@photo = Photo.first
  @photo.attachment.url #gives me the url
  </code></pre>