Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect error message when BigDecimal fails to coerce during comparison #2539
When attempting to compare a BigDecimal to an object that does not implement #coerce, the error message incorrectly indicates that the object is nil and the message has a typo.
("BigDecmil" is a typo in the code)
A correct message might be: "String can't be coerced into BigDecimal"