This project is archived and is in readonly mode.
Allow Infinity to pass validates_numericality_of
-
shuber
Seems like it could be pretty useful in some situations.
Applied the patch, works as expected and all tests pass.
+1
-
Gaius Centus Novus
+1 all tests pass; tests are easy to understand
-
Lytol
+1 Putting mathematical debates aside (since infinity is not a number), I can see the usefulness of this functionality. Tests pass... let's see what others have to say. With mathematical theory aside, a pretty clever solution. =)
-
Chris Cherry
- No changes were found…
-
Repository
- State changed from new to resolved
- Tag set to patch, tiny, verified
(from [124d1016fa212c008e33853912493fa9ac15d086]) Allow Infinity (1.0/0.0) to pass validates_numericality_of. [#354 state:resolved]
Signed-off-by: Pratik Naik
-
Repository
(from [d12660022525b9b1e25b92cd4639e32c8608f729]) Allow Infinity (1.0/0.0) to pass validates_numericality_of. [#354 state:resolved]
Signed-off-by: Pratik Naik
