title: Ruby on Rails - send_file
body: <p>I am using the <code>send_file</code> method to download a file. It works fine on my local machine. But it's not working on the server - it returns a blank file.</p>
  
  <p>code:</p>
  
  <pre><code>send_file Rails.root.join('public', 'uploads') + (uploaded_file.original_filename + ".filtered")
  </code></pre>
  
  <p>Please help.</p>