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

Allow Regexp fields to be set to nil

      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@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: