Add tests with an explanation of why we're using `_before_type_cast`
If you entered incorrect input into a form (particularly with a numericality validation), we should not replace what you typed in with `0`, since clicking submit a second time would essentially be the same as erroneously accepting the junk input as 0.
Showing
想要评论请 注册 或 登录