We are using JRuby 1.5.1/ruby 1.8.7/Rails 2.3.8 with a GWT front end.
I’m having an issue when attempting to send a server side .csv file to
the user using rails send_file.
my code is:
send_file(path_to_file, type=>‘text/csv’)
While this is returning fine with an http status of 200, the client
side save as dialog is never opening for the user to receive the file.
Any ideas why this isn’t working?