1
0
Fork 0
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:
प्रथमेश Sonpatki 2019-04-09 10:28:34 +05:30 committed by GitHub
commit 496e8ee937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.