Displaying 1 result from an estimated 1 matches for "driver_payments_control".
2008 Dec 16
3
Princely Plugin: get nil.size error
Hi All,
I want to generate pdf with css. I am using princely plugin.
This is code which I written
 def pdf
   prince = Prince.new()
   html_string = render_to_string(:template =>
''/users/paid_invoice.pdf.erb'')
   send_data(
     prince.pdf_from_string(html_string),
     :filename => ''some_document.pdf'',
     :type =>