error with array of ids with duplicate ids

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If provided with an array of ids with duplicate ids:

      • Book.find(["both_have_same_id","both_have_same_id"])

      Mongoid 3.0 gives the following error:
      Document(s) not found for class Space with id(s) .

      Even if a document with that id already exists.

              Assignee:
              Unassigned
              Reporter:
              digitalplaywright
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: