Mongoid wraps arrays with another array

XMLWordPrintableJSON

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

      This commit adds a spec which is trying to retrieve a record with the exact same array of ids (i.e: not $in).
      The problem seems to be related to the has_many_belongs_to relationship.
      Notice how the 'agent_ids' variable is changed and wrapper in another array after the call to where(...)

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

                Created:
                Updated:
                Resolved: