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:
parent
a797083d72
commit
de39164b7b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue