1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix upsert_all option typo

This commit is contained in:
Takuma 2021-12-02 19:18:49 +09:00
parent a797083d72
commit de39164b7b

View file

@ -303,7 +303,7 @@ module ActiveRecord
# { id: 4, name: "Gold", price: 1380.87 },
# { id: 6, name: "Aluminium", price: 0.35 }
# ],
# on_duplicate: [:price] # Only prices will be updated
# update_only: [:price] # Only prices will be updated
# )
#
# See the related +:on_duplicate+ option. Both options can't be used at the same time.