Ruby on Rails AWS S3 Download URL
<p>How can I form a url link for a user so that when the user clicks on the link, it forces them to download the AWS S3 object?</p>

<p>I've seen these two solutions: <a href="https://stackoverflow.com/questions/12277971/using-send-file-to-download-a-file-from-amazon-s3/15028162#15028162">Using send_file to download a file from Amazon S3?</a> and <a href="https://stackoverflow.com/questions/12277971/using-send-file-to-download-a-file-from-amazon-s3/15028162#15028162">Using send_file to download a file from Amazon S3?</a> however, they seem to reference an old AWS S3 v1 SDK and there does not seem to be a url_for in the v2 AWS S3 SDK.</p>

<p>Thanks.</p>