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

Expand association examples to show advanced usages

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      During buildfest, I attempted to create a has_many association on a model that orders referenced elements when fetching them. The documentation does not show how to do this, and I eventually had to resort to a GitHub code search to figure out how to get this done.

      In addition to that, the options available on associations are not fully documented. The documentation could do with more examples for more complex association mappings that users may want to create.

            Assignee:
            Unassigned Unassigned
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: