ka8725/redmine_s3 — pull request #4 by return1 (2012-10-03 09:26:32+00:00)
Title: removing the obsolete create() on S3.put

this also fixes

ArgumentError (:data must be provided as a String, Pathname, File, or an object that responds to #read and #eof?):
lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb:72:in `save_attachments'
lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb:68:in `each'
lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb:68:in `save_attachments'
app/controllers/issues_controller.rb:168:in `update'

which occurs with latest redmine and aws-sdk gem

removing the obsolete create() call fixed the problem (calling write() creates an object, if it does not exist)