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

Dependent Behavior Documentation is incorrect

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0, 9.0.0
    • Affects Version/s: None
    • Component/s: Docs
    • None

      The Dependent Behavior Documentation uses delete method, while this method just delete the document from the database and disregard callbacks, associations, etc.

      The documentation example should use destroy method.

            Assignee:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: