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

Nested Attributes not autosaving?

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

      Hey guys, ran bundle update last night and one of my models that includes nested attributes is no longer saving the nested objects. Before the update, this was working fine. I tried reverting to 2.4.0-stable to no avail. Also double-checked to make sure the params I'm sending are correct and autosave is enabled.

      It seems as though the effect is only reproduced when using save. If I try to update a record using update_attributes, the nested attributes insert properly. New records are a no-go however. I did make sure that I use build after instantiating the object as well.

      Just wondering if anyone has seen any similar symptoms lately? This just popped up today.

            Assignee:
            durran Durran Jordan
            Reporter:
            TylerLH TylerLH [X]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: