Rails Send_File in Production Delivers an Empty File
If you're running Rails in production it will by default be configured to let apache or nginx send files for you. If you're handling file downloads yourself with send_file
you will notice that the downloaded files are empty...
Written by Sean Behan on 06/17/2012