search for: some_docu

Displaying 1 result from an estimated 1 matches for "some_docu".

Did you mean: some_doc
2008 Dec 16
3
Princely Plugin: get nil.size error
...nerate 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 => ''application/pdf'' ) end But I am getting error of nil.size You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.size RAILS_ROOT: /var/www/sortapp A...