In Rails3, I am using the WickedPDF gem to render a PDF format of one of my models. This is working fine: /invoices/123 returns HTML, /invoices/1
WickedPDF gem
/invoices/123
/invoices/1
There's a better way: PDF in Rails without controllers.