I have released a new gem for rails called S3 Direct Upload. I suppose I have been interested in direct uploading to s3 for sime time now.

The inspiration (and some core code) for this gem came from Ryan Bates excellent RailsCast #383 where he explains (at the end) a pattern for uploading directly to S3 from the client side. I was quite enthusiastic about this and decided to turn this basic pattern into a gem.

This gem basically includes some javascript and a form helper that makes it easy to add direct uploading to S3 from your rails app. This was all made much easier because Amazon now has CORS support, so we can directly post to S3 from the client side without having to have a proxy in the middle.

I hope you enjoy the gem, if you have any questions send me a note on github.