Fix has_many assocation w/select load after create #7925

Merged
merged 1 commit into from Oct 12, 2012
Commits on Oct 12, 2012
  1. @ernie

    Fix has_many assocation w/select load after create

    ernie committed Oct 5, 2012
    If you create a new record via a collection association proxy that has
    not loaded its target, and which selects additional attributes through
    the association, then when the proxy loads its target, it will
    inadvertently trigger a deprecation notice during attribute writing when
    CollectionAssociation#merge_target_lists attempts to do its thing, since
    the newly loaded records will possess attributes the created record does
    not.