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

Replace "a nil" with just "nil"

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 8.0.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible

      Example:

      set the Mongoid.raise_not_found_error configuration option to false,
      which will cause a nil to be returned instead of raising this error.

      This should be either "nil" or "a nil value", but "a nil" sounds awkward in typical Ruby parlance. (In fact, there is only one "nil" in Ruby, as nil always has the same object_id)

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

              Created:
              Updated:
              Resolved: