title: Rails paperclip image save
body: <p>When using paperclip, if i try to enter the url like so (in a create function after a picture saves</p>
  
  <pre><code>image = Magick::ImageList.new('public' + @picture.photo.url)
  </code></pre>
  
  <p>i get the error</p>
  
  <pre><code>Magick::ImageMagickError in PicturesController#create
  
  no decode delegate for this image format `public/system/photos/115/original/Kitchener-2011103100531.jpg?1321026621' @ error/constitute.c/ReadImage/532
  </code></pre>
  
  <p>if i try to enter </p>
  
  <pre><code>@picture.latitude = EXIFR::JPEG.new('public' + @picture.photo.url).gps_lat
  </code></pre>
  
  <p>to just deal with the exif data i get </p>
  
  <pre><code>Errno::ENOENT in PicturesController#create
  
  No such file or directory - public/system/photos/116/original/Kitchener-20111031-00531.jpg?1321026744
  </code></pre>
  
  <p>When i try doing photo.url in a rails console it gives good format, but in my controller adds some weird garbage '?1321026621' at the end. How do i fix this? (a regex looks easy to fix this, but is there a better approach than this)</p>