• G
    Preserve existing attachment assignment behavior for upgraded apps · 400b2103
    George Claghorn 提交于
    Assigning to a collection of attachments appends rather than replacing, as in 5.2. Existing 5.2 apps that rely on this behavior will no longer break when they're upgraded to 6.0.
    
    For apps generated on 6.0 or newer, assigning replaces the existing attachments in the collection. #attach should be used to add new attachments to the collection without removing existing ones.
    
    I expect that we'll deprecate the old behavior in 6.1.
    
    Closes #36374.
    400b2103
model.rb 6.0 KB