If you run specs or your application and get an error like: ActionController::MissingFile in 'ProductsController#show, should render PDF...

The step definitions below allow you to write this in both Webrat and Capybara: When I follow "Download as PDF...

tug.dk

Gallery of fonts you can use without much hassle in LaTeX. The license of the fonts vary, but are all...

If a controller action responds to other formats than HTML (XML, PDF, Excel, JSON, ...), you can reach that code in...

We use RTeX for PDF exports. While converting LaTeX to PDF, RTeX opens a temporary file which has problematic permissions...

makandra dev

This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...

makandra dev

The following counts all the lines in all *.rb files in the app directory. Run several of these commands to...

makandra dev

This may be awkward to set up, but will work once you're done. Fun facts:

alistapart.com

An example of the conundrum of transferring print documents to the web, one that has become legendary in some circles...

code.google.com

jsPDF is an open-source library for generating PDF documents using nothing but Javascript. You can use it in a...

rghost.rubyforge.org

Ruby Ghostscript (RGhost) is a library for document developers wanting a quick and easy way to generate pdf files. It...

github.com

Pretty print your Ruby objects with style -- in full color and with proper indentation

code.google.com

Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.

thinkrelevance.com

We're excited to announce PDFKit, an open source library that makes working with wkhtmltopdf a snap.