Uploading file to Amazon S3 sample app with Ruby on Rails 4.1 and AWS SDK for Ruby.