RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jgpawletko
I had the same error, but my problem was not the redirect, but rather my Amazon S3 bucket parameter was incorrect, i.e., ENV["AWS_S3_BUCKET"] was not set to the correct value.
Thank you for this, Ryan.
Really, really useful.