PDF and Ruby on Rails

Hi,
   I am sticking in one problem. Please help me out. The problem is
like:

   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])
  end
end

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

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?