1. 31 5月, 2018 11 次提交
  2. 30 5月, 2018 3 次提交
  3. 29 5月, 2018 8 次提交
  4. 28 5月, 2018 10 次提交
  5. 27 5月, 2018 4 次提交
  6. 26 5月, 2018 3 次提交
  7. 25 5月, 2018 1 次提交
    • R
      Eager loading won't mutate owner record · 6edf354b
      Ryuta Kamizono 提交于
      Since #31575, `BelongsToAssociation#target=` replaces owner record's
      foreign key to fix an inverse association bug.
      
      But the method is not only used for inverse association but also used
      for eager loading/preloading, it caused some public behavior changes
      (#32338, #32375).
      
      To avoid any side-effect in loading associations, I reverted the
      overriding `#target=`, then introduced `#inversed_from` to replace
      foreign key in `set_inverse_instance`.
      
      Closes #32375.
      6edf354b