• Maxime Orefice's avatar
    Add restrict_with_error to docs · a57e75fd
    Maxime Orefice authored
    This commit adds a note to our dev documentation to recommend
    using dependent: :restrict_with_error to make sure child objects
    are cleaned up before calling .destroy on the parent object.
    a57e75fd
foreign_keys.md 4.51 KB