• J
    Remove all revelant through records. · 19b2a5f2
    Jon Leighton 提交于
    If a record is removed from a has_many :through, all of the join records
    relating to that record should also be removed from the through
    association's target.
    
    (Previously the records were removed in the database, but only one was
    removed from the in-memory target array.)
    19b2a5f2
has_many_through_association.rb 5.1 KB