-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Attributes, Docs, Query
-
2
Per https://github.com/mongodb/mongoid/pull/4572, there is no demongoize method for regexps which makes Regexp fields return their values as BSON::Regexp::Raw instead of Regexp.
This is likely intentional to support regular expressions not originating from Ruby. For the same reason Mongoid should keep this behavior, but it should be documented.
- related to
-
MONGOID-4666 Allow Regexp fields to be set to nil
- Closed
- links to