fix bad SO advice for how to increment in ruby