Tag: Rails

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 […]

DZone API and iPhone app

As “I already mentioned”:http://blog.nofail.de/2010/08/using-blocks-in-objective-c/, I am currently getting my hands dirty with Objective-C and iPhone application development. The biggest problem with getting started was that I had no idea what application I could write for that device that “could become somewhat usable”:http://www.dzone.com/links/we_want_a_mobile_dzone.html. As I am a passionate tech reader, I consume a lot of articles […]

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 […]

Migrating to Rails 3 for Heroku Bamboo

Recently there were some interesting “updates to the Heroku infrastructure”:http://blog.heroku.com/archives/2010/3/5/public_beta_deployment_stacks/, giving the opportunity to migrate “my personal Rails 2 website”:http://www.phoet.de/ to “Rails 3 (beta)”:http://weblog.rubyonrails.org/2010/2/5/rails-3-0-beta-release/. Having an app with only a single model “for caching data”:http://blog.nofail.de/2010/02/simple-db-caching-for-heroku/, there is no worry about database migration. A nice opportunity for starting out new: rvm use 1.9.1 gem install rails […]