Add limit to Ruby SQLHelper.