mileszs/wicked_pdf — Issue #87: Rails 3.2 :handlers and :formats support
Author: kylejginavan
Created: 2012-02-21 14:21:21+00:00
State: open

It is no longer valid to pass the format "pdf" or handler "erb" in the template name. Therefore, two more parameters are needed to handle :handlers and :formats.

render :pdf => 'file_name',
:template => 'things/show.pdf.erb',
end

It was just deprecated in 3.2 and will be out in Rails 4, therefore, now is a good time to add this. Please get back to me.

Thanks,
KG