I am trying to generate pdf reports/documents based on time consuming
database queries and associated calculations. When these are run in
development mode they work fine (apart from taking a long time
5-10mins) but when these are run on the production system they result
in timeout errors.
Is there a better way to approach this problem? The controller method
using the following statement:
send_data pdf.render, :filename => “financial_summary.pdf”, :type =>
Any help appreciated.