How can I load ActionDispatch::Http::UploadedFile in Amazon S3?
@file_data = params[:upload][:file] s3 = AWS::S3.new obj = s3.buckets['WeMake'].objects.create("video", file)
Then I get this error: ArgumentError (: should the data be represented as a String, Pathname, File or an object that responds to #read and #eof?):
source share