forrest/prawnto — Issue #3: Generate Empty PDF
Author: KozakIvan
Created: 2012-01-30 12:01:51+00:00
State: open

Controller Action

def makeOrder
prawnto :filename => "#{@superviser.fio}.pdf"
respond_to do |format|
format.html
format.js
format.pdf {@customer = Customer.find(params[:customer_id])}
end
end

Generated PDF file is empty, a feeling that is not processed pdf.prawn file. In what may be the case, how to check ?