Displaying 1 result from an estimated 1 matches for "really_do_the_download".
2006 Aug 24
2
The Rails way to download a file...
I am looking for an example of how to download an xml file to a user''s
machine.
I have created a web page that allows the user to enter a file_name and
validates the field - using errors.add - but after a valid file_name has
been entered while the file does download properly, the web page is
never updated and it looks like there is still an error.
How do I send_data and redirect_to