Forum: Ruby on Rails display form post results AND generate PDF data

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.
Chris H. (Guest)
on 2006-03-01 15:57
(Received via mailing list)
I have a report I need to generate from posted form data with the
choice of also generating a pdf of the same report.

I am wondering if it is possible to do both, display the report in the
AND also generate the PDF data, within the same action, ie, user selects
the info they want in the report, also selecting 'Generate PDF', submits
form and report is displayed in the browser AND the user is also
prompted to
save the PDF that is also generated.

This topic is locked and can not be replied to.