Computer stuff, Ruby

Rails: Be wary of N+1 queries with `order`

I had to solve an interesting performance issue today, so I thought I might as well document it for the posterity. It involved fixing an