Upload files directly to S3 using Rails, Carrierwave and jQuery Fileupload
Code taken from this example app:
https://github.com/ncri/s3_uploader_example