Test the content-type of a response in Cucumber
The step definitions below allow you to write this in both Webrat and Capybara: When I follow "Download as PDF...
The LaTeX Font Catalogue
Gallery of fonts you can use without much hassle in LaTeX. The license of the fonts vary, but are all...
Request a non-HTML format in controller specs
If a controller action responds to other formats than HTML (XML, PDF, Excel, JSON, ...), you can reach that code in...
Fix permissions of temporary RTeX files (which are group and world-readable)
We use RTeX for PDF exports. While converting LaTeX to PDF, RTeX opens a temporary file which has problematic permissions...
Debug Ruby code
This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...
Count lines of code
The following counts all the lines in all *.rb files in the app directory. Run several of these commands to...
MySQL replication how-to
This may be awkward to set up, but will work once you're done. Fun facts:
A List Apart: Articles: Unwebbable
An example of the conundrum of transferring print documents to the web, one that has become legendary in some circles...
jspdf - Project Hosting on Google Code
jsPDF is an open-source library for generating PDF documents using nothing but Javascript. You can use it in a...
Ruby Ghostscript by Shairon Toledo
Ruby Ghostscript (RGhost) is a library for document developers wanting a quick and easy way to generate pdf files. It...
How to print from an iPad.
michaeldv's awesome_print at master - GitHub
Pretty print your Ruby objects with style -- in full color and with proper indentation
wkhtmltopdf - Project Hosting on Google Code
Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.
Rethinking PDF Creation in Ruby
We're excited to announce PDFKit, an open source library that makes working with wkhtmltopdf a snap.