diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-09-01 11:20:30 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-12-28 17:27:21 +0900 |
commit | d4a62096ec5ec53a542f25c17a2d125f93ab21a5 (patch) | |
tree | e7fdb51b320ce50cfc4ab938989af16bef3ba73e /activerecord/test/cases/inheritance_test.rb | |
parent | fce3c0cf64f053cf853764e8b47343a814b98d45 (diff) | |
download | rails-d4a62096ec5ec53a542f25c17a2d125f93ab21a5.tar.gz rails-d4a62096ec5ec53a542f25c17a2d125f93ab21a5.tar.bz2 rails-d4a62096ec5ec53a542f25c17a2d125f93ab21a5.zip |
Avoid to call `set_inverse_instance` twice for `has_many` association
`create`, `create!`, and `concat` in `has_many` association hits
`set_inverse_instance` twice. It is enough to hit only once.
Diffstat (limited to 'activerecord/test/cases/inheritance_test.rb')
0 files changed, 0 insertions, 0 deletions