Action Text PDFs

Episode #483 by Teacher's Avatar David Kimura

Summary

In this episode, we'll look at a modern way of handling "HTML PDFs". In the past, there was wkhtmltopdf, but this has since been archived, so a new solution was needed. Our primary focus in this episode will be generating a PDF from Action Text Content.
rails pdf action text 11:23

Chapters

  • Introduction (0:00)
  • Setting up the project (1:34)
  • Adding dependencies (2:50)
  • Setting up the routes (3:17)
  • Setting up the controller (4:00)
  • Setting up the view (5:09)
  • Finishing up the controller (6:27)
  • Adding download link (7:17)
  • Demo (7:36)
  • Setting up default options (7:58)
  • Demo (9:27)
  • Final thoughts (10:09)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
Autumn Sale
$ 144 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams