The pull request with all the code.

While ap is an extremely handy gem, it will massively slow down your production server.