String conversion bug in Ruby

This a bug is a rare edge case. Usually in Ruby when you convert a string into an integer it returns 0, but this specific string (7Q8GPSJMKF) converts into the number 7. Using the Integer class would be nice if it did not raise an exception: I could have used Integer and then a rescue, […]

Read More String conversion bug in Ruby