multiple includes

XMLWordPrintableJSON

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

      it seem that mongoid is only eager loading the first association mentioned in an includes directive. for instance Thing.includes(:apple, :orange) only eager loads Apples, where as Thing.includes(:orange, :apple) only eager loads oranges. in my case thing has two belongs_to lines, one for both associations.

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

                Created:
                Updated:
                Resolved: