similar to: [RSpec Testing] Methods take two arguments

Displaying 5 results from an estimated 5 matches similar to: "[RSpec Testing] Methods take two arguments"

2012 Sep 11
10
wickedpdf
Hi all i''m trying to generate pdf and i got this error Location of wkhtmltopdf unknown and i also get Bad wkhtmltopdf''s path gpa/vendor/plugins/wicked_pdf/lib/wicked_pdf.rb:26:in `initialize'' /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf''
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 =>
2006 Nov 04
0
UTF-8 String to PDF using PDF::Writer
Hi I just can''t seem to figure this out. I know that PDF doesn''t support UTF-8 so I''m trying to use Iconv to convert the string from UTF-8 to MacRoman (or anything that will work). This doesn''t seem to be working though. Is there a better/ correct way to do this? The sting is stored as UTF-8 in MySQL and displays properly on the web (<?xml
2012 Nov 26
5
Missing template pages/layout only occasionally
I have my app email me errors when they occur. I get this about 2-3 times a week with thousands of hits a day to the site. pages/show is a .html.erb file that renders the partial _strategicrelationshipacademy.html.erb essentially. Or whatever partial it calls for. I get this on many different ''pages''. Obviously the partial exists if it renders it fine most of the time. What
2005 Sep 22
0
All caps in controller names
Are controller names allowed to have all caps, like PDFController? I created a controller called PDFController with the generator and it croaks with an unknown constant PdfHelper error. Is that not the convention? I reported this as a bug, but now I''m not so sure because the wiki doesn''t recognize PDFController as a valid wiki word. -Jeff