How to generate a pdf to save it in activestorage with wicked_pdf in rails 5?

后端 未结 0 666
悲&欢浪女
悲&欢浪女 2021-02-04 21:45

With rails 5.2.4, I am trying to generate a pdf in the background (within a job) and then attach it to a model as:

pdf_contents = ApplicationController.render(
pd         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题