Category: Ruby

Generating PDF from HTML using DocRaptor on Heroku

There comes a time one has to create PDFs for a Rails application. Searching the web will most likely bring you to libraries like “PDF Kit”:http://github.com/jdpace/PDFKit/ and “Wicket PDF”:http://github.com/mileszs/wicked_pdf/ that use “wkhtmltopdf”:http://code.google.com/p/wkhtmltopdf/ as a driver. If your app is hosted on “Heroku”:http://heroku.com you wonder weather wkhtmltopdf is available so that you can use one of […]

Rails, getting started without the hassle

I just changed jobs and am now a Rails developer at “tolingo.com”:http://tolingo.com, which is an online translation broker. When I started out working on my new desk, I had to setup my iMac development environment. There are tons of articles of “how to compile/install/run stuff like MySQL”:http://hivelogic.com/articles/ruby-rails-leopard, to get you started on OS X, but […]

Using the Redis addon on Heroku

I am always “playing around with new addons”:http://blog.nofail.de/2010/07/mongo-ruby-driver-mongoid-and-mongomapper/ offered by Heroku. My latest discovery was the “Redis addon”:http://addons.heroku.com/redistogo that is provided by “Redistogo”:http://redistogo.com/. The addon is probably in private beta (“docs”:http://docs-beta.heroku.com/redistogo are still on beta), but since they put up a link to it on their site, I managed to install it to my “personal […]

Mongo Ruby Driver, Mongoid and MongoMapper

=================================================================== =================================================================== Update Aug. 2010 On “Whyday”:http://whyday.org, I created a live demo of the examples, “that is running on Heroku”:http://mongodb-examples.heroku.com/. =================================================================== =================================================================== I am constantly looking around for different storage mechanisms on Heroku that can be used for caching 3rd party data. A recent update of their platform offered an MongoDB addon to access the […]