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

Defaulting values breaks nested form delete

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.4.9
    • Component/s: None
    • Labels:

      Description

      If I have an embedded doc with two fields defined with defaults in Mongoid, and only one of those fields exists in the DB, then the pull command fails because the fields don't match.

      Is there any way to ditch the defaulted fields for the pull command?

        Attachments

          Activity

            People

            Assignee:
            durran Durran Jordan
            Reporter:
            nader Nader Akhnoukh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: