Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4669

Document regular expressions use in Mongoid

    • 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.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: