ユーザーがget_pdfアクションを実行したときに発生する可能性のある問題は何ですか? 問題がある場合、どのように解決できますか?PDFとRuby on Rails
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