aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/boolean.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-09-01 11:20:30 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-12-28 17:27:21 +0900
commitd4a62096ec5ec53a542f25c17a2d125f93ab21a5 (patch)
treee7fdb51b320ce50cfc4ab938989af16bef3ba73e /activerecord/test/models/boolean.rb
parentfce3c0cf64f053cf853764e8b47343a814b98d45 (diff)
downloadrails-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/models/boolean.rb')
0 files changed, 0 insertions, 0 deletions