HtmlToPdf lets any Rails controller action be downloaded as a PDF. Request the action with a PDF format and the gem renders the view exactly as the browser would, then converts it to PDF via a pooled headless Chrome instance (through the ferrum gem). Supports Rails 7.x and 8.x.

Required Ruby Version

>= 3.1

Authors

Ram Laxman Yadav

Versions

  1. 4.0.0
    1. source

      1. 4.0.0 source November 24, 2026 (51 KB)
  2. 3.0.1
    1. source

      1. 3.0.1 source November 24, 2026 (32.5 KB)
  3. 3.0.0
    1. source

      1. 3.0.0 source October 05, 2026 (32 KB)
  4. 2.0.0
    1. source

      1. 2.0.0 source July 11, 2026 (9 KB)
  5. 0.1.0
    1. source

      1. 0.1.0 source August 08, 2023 (7 KB)
Show all versions (12 total)

SHA 256 checksum