Forum: Ruby on Rails Send_file and Firefox

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
ed.howland (Guest)
on 2005-11-12 12:50
(Received via mailing list)

I am trying to use send_file in my controller to serve up specific
content: (.doc, ..xls)

Seems to work fine in IE, but in FF (1.0.7, on Windows) after the file
d/ls and the app (MS Word, MSExcel) opens up with the content, a blank
window comes to the front (gets focus).

Any idea how to prevent this?

Do I need a redirect_to after the send_file in my controller's
download_file action?

This topic is locked and can not be replied to.