Skip to main content

3 posts tagged with "erb templates"

View All Tags

HTML to PDF in Rails with Puppeteer-Ruby Gem

· 11 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Generate PDF from HTML using Puppeteer-Ruby in Ruby on Rails

Web applications frequently need to generate high-quality PDF documents from HTML content – invoices, reports, certificates, and business documentation. Puppeteer-Ruby is a pure Ruby port of Google's Puppeteer API that gives you direct access to Chrome's rendering engine for Ruby on Rails PDF generation. This guide walks you through implementing HTML to PDF conversion using Puppeteer-Ruby, producing high-quality results with full support for modern CSS and JavaScript.

HTML to PDF in Rails: Complete Guide with Grover Gem

· 13 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Generate PDF from HTML using Grover in Ruby on Rails

Modern web applications frequently need to generate professional PDF documents for invoices, reports, contracts, and other business materials. The Grover gem is a widely used Ruby on Rails PDF generator that relies on Google Chrome's headless browser for accurate rendering with full CSS3, Flexbox, and Grid support. This tutorial walks you through Ruby HTML to PDF conversion using Grover's Chrome-based engine integrated with Rails' ERB templating system.

WickedPDF Tutorial: HTML to PDF in Ruby on Rails

· 10 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Ruby on Rails PDF Generation with WickedPDF

WickedPDF is the most popular HTML to PDF gem for Ruby on Rails, providing tight integration with Rails' built-in ERB templating system. Below you'll learn how to set up WickedPDF, build an invoice PDF with ERB templates, and configure the rendering options.