method

replace

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::Associations::AssociationCollection
replace(other_array) public

Replace this collection with other_array This will perform a diff and delete/add only records that have changed.

Show source
Register or log in to add new notes.