I am using WickedPdf
respond_to do |format|
format.html
format.pdf do
render :pdf => "file_name"
end
end
This is working fine . the user is able to download the generated pdf . but i need to store the generated pdf in server for other purposes like mailing etc etc How can i save this generated pdf ?
i tried the following but no idea how to pass the html to wickedpdf wicked_pdf doesn't work -- Ruby on Rails
thanks in advance