mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #35903 from ryohashimoto/fix_upsert_method_comment
[ci skip] Fix `#upsert` method comment
This commit is contained in:
commit
496e8ee937
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ module ActiveRecord
|
|||
InsertAll.new(self, attributes, on_duplicate: :raise, returning: returning).execute
|
||||
end
|
||||
|
||||
# Updates or inserts (upserts) multiple records into the database in a
|
||||
# Updates or inserts (upserts) a single record into the database in a
|
||||
# single SQL INSERT statement. It does not instantiate any models nor does
|
||||
# it trigger Active Record callbacks or validations. Though passed values
|
||||
# go through Active Record's type casting and serialization.
|
||||
|
|
Loading…
Reference in a new issue