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

Do not raise an error if parent document is loaded after embedded

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 9.0.1
    • Affects Version/s: None
    • Component/s: Associations
    • None
    • Fully Compatible
    • Ruby Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      MONGOID-5016 sets touch: true by default for embedded documents. As we found in HELP-61080 this causes NameError if the parent document class in not loaded at a time of loading embedded document class. This behaviour should be fixed.

            Assignee:
            jamis.buck@mongodb.com Jamis Buck
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: