wicked_pdf フッターのレンダリングにはほとんど問題がありません。
これが私のレンダリング方法です:
def invoice
render pdf: "#{@order.number}.pdf",
footer: { html: { template: "admin/orders/invoice_footer.html" } },
margin: { bottom: 25 }
end
PDF レンダリングは正常に機能しますが、フッター テンプレートはありません。邪悪な設定でさまざまなマージンを試しましたが、成功しませんでした。