Source code for the Asynchronous File Uploading with Rails article on SitePoint, created by Ilya Bodrov (bodrovis.tech).
Rename config/secrets.yml.example to config/secrets.yml
Populate production section with your own aws_access_key_id and aws_secret_key.
Also generate secret key for production:
rake secrets
and add it to config/secrets.yml
Finally run:
RAILS_ENV=production rake heroku:secrets
Change bucket name in config/initializers/dragonfly.rb with your own bucket name. Note: Add bucket without dots to aviod this error.