blog

Simple authentication in Sinatra with Janrain Engage

As soon as your Sinatra app gets a bit more complicated, and you need a more sophisticated feature you cannot rely on all the nice plugins available for Rails. So you end up either writing something yourself, or using an external solution. ... Read More

Integrating Google Federated Login with your Rails app

When making one of your apps available on the google apps marketplace and you're not aiming for the full integration, pretty much all you have to do, is to allow a user to sign-in to your app using his google account. ... Read More

Make rails render different views for multiple sites

We have an app that uses the same code (and instance!) for several clients. The clients need the same kind of app, the differences are with the styling and (sometimes) the content. ... Read More

Thinking Sphinx with custom joins

Today we tried to add an attribute to our Sphinx index definition that uses an association with GROUP BY and HAVING. So we decided to fork and extend thinking sphinx. ... Read More

Calculating counts for all array items

Ever wondered how often a specific item occurs in an Array? ... Read More

The Government ...

The Government is not your friend :) ... Read More