-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Attributes
Currently, setting a field of type regexp to nil results in the Ruby type error: TypeError: no implicit conversion of nil into String.
PR was submitted to allow nil-valued regexp fields: https://github.com/mongodb/mongoid/pull/4572
- is related to
-
MONGOID-4668 Strings assigned to Regexp fields get stored/retrieved as strings
- Closed
-
MONGOID-4669 Document regular expressions use in Mongoid
- Closed