I have a rails app that allows a user to download a generated CSV file. After the file is downloaded, I'd like to redirect the user to a new URL or action. Is there a trick to do a redirect after a send_data? I have a rails app that allows a user to downlo