Allow Regexp fields to be set to nil

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: