I'm having a hard time trying to figure this out.
I have a button_to
that should download a .mp4 movie that is stored on S3 when clicked. Since the audience is very basic, I need that when they click the button the download start right away. No right-click and Save As, just a button to send the file as download instead of open it on the browser.
I tried using send_file
only to realize that it works for local files.
Any idea how to do this?