Fake Multiple Table Inheritance

For many years now a pattern has emerged in my Rails websites. Most models will have Title, Description, Online at, Offline at, Is visible, Url and Image_file_name fields. It screams to be solved using an underlying common model using the “is_a” pattern. There is no clean way to solve this in Rails. I discovered this post though, which outlines a good method to solve this problem.

Continue reading

Election special

Seems like the crisis in our parliament has become global news. Guess “our boys” did some fine things in Uruzgan. Too bad the majority of the country wants to end the war. Anyway. I recently built the election special for www.radio1.nl. I just love how fast I can whip up specials like this in Ruby on Rails, and integrate it into the core of the app without making the code any dirtier.

MegaMythen: play with the Greek Gods

Late last year I have built the back-end for a very slick online game called MegaMythen. In this game you can play with the ancient Greek Gods and travel up mount Olympus. This game has launched today and it looks even better than I had imagined. The gameplay is very intuitive and smooth. I urge you to check it out even if you don’t play games at all: www.megamythen.nl.

Continue reading