Well to display it in the browser you’re going to have to download it
an appropriate in-browser renderer exists? Or alternately you could
try the various Rails mailing lists as it’s possible someone else has
run into the same problem.
On Jul 23, 2008, at 4:07 PM, Eleanor McHugh wrote:
it will download the file , but i dont want to download the file,
method. By default, files will be delivered as an attachment, what you
want is called “inline”. AFAIK, this can be done via #send_file.
It would be best to ask that question on the Rails mailing list, not
the pure Ruby one.