Forum: Ruby on Rails unexpected download popup

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.
Luma (Guest)
on 2009-02-07 17:05
(Received via mailing list)
I'm creating some pdfs using PDF::Writer:

def my_action
  invoice_pdf = render_to_string(:action => '../orders/
invoice.rpdf', :layout => false)
  path = ..., "wb") {|f| f.write invoice_pdf}

At the end of the action, my_action.html.erb should be rendered. But
I'm getting an unexpected download popup:

type: Adobe Acrobat Document, 11.2 kb
from: http://localhost:3000

This topic is locked and can not be replied to.