Big Problems From Big IN lists with Ruby on Rails and PostgreSQL
andyatkinson.com