Skip to content

Add restrict_with_error to docs

Max Orefice requested to merge morefice/add-restrict-with-error-to-docs into master

What does this MR do and why?

This MR adds a note to our developer documentation to recommend using dependent: :restrict_with_error to make sure child objects are cleaned up before calling .destroy on the parent object.

This topic was already described in 3 different places in docs all for different reasons. As such I've added cross-linking between all of them to make this easier to find if someone lands on one of the other sections.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Dylan Griffith

Merge request reports

Loading