Something intesting when casting Integer("08") and Integer("09") raise an error

(1..25).to_a.each { |t| Integer("%02d" % t) rescue puts "error #{t}" }

error 8

error 9