Subject: | num_errors returns undef instead of 0 |
Apparently at one point it returned 0 because I had a test that checked for that.
I think returning 0 after a successful validation makes sense, since undef implies that the value is unknown as opposed to there being no errors.