Skip to content
  • Sean Griffin's avatar
    cd1bbf8e
    Correctly ignore `mark_for_destruction` without `autosave` · cd1bbf8e
    Sean Griffin authored
    As per the docs, `mark_for_destruction` should do nothing if `autosave`
    is not set to true. We normally persist associations on a record no
    matter what if the record is a new record, but we were always skipping
    records which were `marked_for_destruction?`.
    
    Fixes #20882
    cd1bbf8e
    Correctly ignore `mark_for_destruction` without `autosave`
    Sean Griffin authored
    As per the docs, `mark_for_destruction` should do nothing if `autosave`
    is not set to true. We normally persist associations on a record no
    matter what if the record is a new record, but we were always skipping
    records which were `marked_for_destruction?`.
    
    Fixes #20882
Loading