Mock Table with Image Cells using Prawn (Rails)
If you’ve ever tried to create a PDF using Prawn and wanted images in your table cells you were probably disappointed to find that Prawn doesn’t support this cell type by default. While I’m told this will be included in the 1.0 release of Prawn, that seems like it could be some time away. As a work around I decided to do a mock table using bounding_boxes that fully supports images (both remote and local).
https://gist.github.com/973267