Expand documentation of which association operations immediately save documents

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None

      In https://jira.mongodb.org/browse/MONGOID-4484 documentation was started for which operations on associations immediately save documents (assignment, push and <<). This list should be expanded to cover the remaining operations.

      In https://github.com/mongodb/mongoid/pull/5225 shields@tablecheck.com suggested that clear and destroy also immediately save documents.

      push, <<
      destroy, delete
      assign_attributes (this can be used for individual attribute write or setting an entire association target, see MONGOID-5364)

              Assignee:
              Unassigned
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: