Transitioning from BitBucket to GitLab

BitBucket allows small companies and developers to set up private repos free of charge with less than 10 users. The low price barrier is great but the BB UI is severely lacking in many respects. For example you can’t bulk edit issues which is a huge PITA if you’re dealing with a lot of tickets…


Read More

Amsterdam Hackathon

This past weekend I took part in my first ever Hackathon (Amsterdam Hackathon) and with a team of two other people (Rene Pot onĀ front-end and Irma Scheer on design) we managed to take second place šŸ™‚ The topic was “Augment Amsterdam”. We spend almost three hours brainstorming different ideas. We wanted to work on something…


Read More

DataMapper extras

Although I no longer use DataMapper I thought I would share some of my code for it in case it can help anyone who has experienced the same problems. Today I created a GitHub project which includes two helpers: 1. Adding anĀ all_error_messages() method to objects. By default DM’s validation only shows you errors about the…


Read More

A year of Ruby

It’s about a year today that I took on the task of maintaining and extending aĀ REST API with just over a month of Ruby experience under my belt. Despite being so new to the language I felt confident that I could take on the project as I had already managed to build a portal for…


Read More

Why we abandoned Ruby DataMapper

At my work (Give.it) we had a REST API that used Ruby’s DataMapper ORM for database operations. Initially this seemed to work okay but as the API became more complex we stumbled into a growing number of pitfalls. While a lot of the basic functionality was covered by the existing code I found that it…


Read More

Ruby DataMapper aliased associations

In Ruby’s DataMapper ORM you can easily associate one type of object with another, e.g. an Image can have many Tags. For the most part DM takes care of the issue of pluralization, ie. if your tag object is Tag then the associated tag collection is accessed as image.tags However, what if you want to…


Read More