title: What happend after send_file in Rails controller?
body: <p>In the <code>index</code> view, there is a link to download file:</p>
  
  <pre><code>&lt;%= link_to filename, listing_download_path(:file =&gt; filename) %&gt;
  </code></pre>
  
  <p>In the controller:</p>
  
  <pre><code>def download
      pathname = File.join(USER_FOLDER, params[:file])
      if File.file?(pathname)
        send_file pathname
      end
    end
  end
  </code></pre>
  
  <p>When the user click download, a file download popup is shown. What's happen after the file is downloaded? Does rails just sit there and do nothing more? If I delete the <code>send_file</code> line, <code>dwonload.html.erb</code> will be rendered. Does <code>send_file</code> skip view rendering?</p>
  
  <p>What if I want to show soemthing like "You have downloaded ..."? </p>