aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/association_relation.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-08-31 00:06:12 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-08-31 00:06:12 +0900
commit5e86ee1195eaf2242a5fdd35fce3790260e5e826 (patch)
tree56a10de6a669ed61c0806c2338776a71a6c0819a /activerecord/lib/active_record/association_relation.rb
parent56ca81a9111d1a47349299e2b973160885bad767 (diff)
downloadrails-5e86ee1195eaf2242a5fdd35fce3790260e5e826.tar.gz
rails-5e86ee1195eaf2242a5fdd35fce3790260e5e826.tar.bz2
rails-5e86ee1195eaf2242a5fdd35fce3790260e5e826.zip
Refactor `attributes_for_{create,update}` to avoid an extra allocation
Use `delete_if` instead of `reject` to avoid an extra allocation.
Diffstat (limited to 'activerecord/lib/active_record/association_relation.rb')
0 files changed, 0 insertions, 0 deletions