igor-alexandrov/paperclip-aws — pull request #4 by mfo (2011-11-29 15:22:09+00:00)
Title: Bug with original_file, for jpg, with s3 as storage. original file can't be read...

Hi, we faced an issue :
- for original file
- with JGP files only (PNG/GIF were OK)
- with AWS s3 as storage

the original file could not be read...

I don't really know why, but this small change fix this issue.
Loot at aws-sdk-for-ruby/lib/aws/s3/s3_object.rb... i'm not sure the "kind of" file stream given to write is good.