PDF and Ruby on Rails

   I am sticking in one problem. Please help me out. The problem is

   What problems can arise when users hits the get_pdf action?
   If there are problems, how can it be solved?

class PdfController < ApplicationController
  def get_pdf
    send_data Pdf.create(params[:contents])

class Pdf
  def self.create(contents)
    make_pdf(contents) # takes 30 seconds to run

Srimanta Chakraborty wrote in post #1043855:

Thanks everybody I have solved this problem.

Would you like to contribute your solution so that anyone searching
for the same problem could benefit from your experience?