title: Using send_file to download a zip file to browser without rails server being involved
body: <p>I am using the following snippet to allow a user to download a zip file. The path here is a link on the S3 bucket. I want to confirm if the file would be directly downloaded from S3 to the browser or would it first be downloaded to the rails server &amp; then streamed from there?</p>
  
  <p>If the latter, what is the best way to avoid that?</p>
  
  <pre><code>path = "#{file.download_attachment.path}"  
  send_file path, :type =&gt; 'application/zip',
                  :disposition =&gt; 'attachment',
                  :filename =&gt; "#{file.name}.zip"
  </code></pre>