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

add support for embeds_many when querying Enumerable

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

      Mongoid::Matchers::Strategies.extract_attributes was not taking into account the possibility of an array result, as in the case of an embeds_many.

      This fix is fairly dumb.

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

              Created:
              Updated:
              Resolved: