XING Devblog

Category Archives: Ruby on Rails

Refreshing XING’s Mobile Website

Every two months, XING gives its developer and product teams a week away from their everyday work to come up with great ideas for XING and then turn them into reality. During the last innovation week held at the start of November, two Rails and three front end developers got together to work on touch.xing.com.   Continue Reading…


Absurdly Simple Split Testing

p5rn7vb Summary The aim of Absurdity is to give you a simple yet feature-rich way of conducting split testing. It offers multiple variants, multiple metrics, and multiple tracks per user. When writing it I favored explicit over implicit, and pushed any methods you should need to a single external class: Absurdity. It also comes with   Continue Reading…


The local optimum of Test-Driven Development

Executive Summary Test-driven development (TDD) changes your playing field: Original image by Jurgen Appelo. Make use of that!


Using Ruby’s infinity in Rails

A couple of months ago we implemented a backlog item that required a limit of items that could be added to a contract. It was possible for this limit to not exist. Seeing this, I suggested at some point: “Let’s use infinity!” After the prompt reply, “You wanna do what?”, I went on to explain why   Continue Reading…


Notes from the Scottish Ruby Conference 2010

Three of our software engineers attended the Scottish Ruby Conference in Edinburgh. The Scottish Ruby Conference took place from 26-27 March 2010 in Edinburgh, the capital of Scotland. The twitter tag used for the conference was #scotconf, and photos can be found in the flickr group. I think the schedule, and the conference in general,   Continue Reading…


Alter Table Rails Plugin

We are using the Ruby on Rails framework for a lot of our website.  And during every week’s release we have migrations running on our database.  We want those migrations to be as fast as possible, to keep our site response times low and make modifications to our database as easy as possible.  As the   Continue Reading…


A Rails plugin to store a collection of boolean values as a single bit field

As you probably know, boolean values in software systems represent the states “true” or “false”. For some use cases in a software application, you may need a lot of them. To give you a very simplified example, imagine a form where the user can check which languages he or she speaks:         Let’s   Continue Reading…


Migrating our search from Ferret to SOLR

Search is a big issue here at XING. Each day, we are processing numerous search queries, spread across events, jobs, company profiles and user search. For such a high search volume, you need rock solid technology that you can trust. For the last two and a half years, this technology has been Ferret. Why we chose   Continue Reading…