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

Update activerecord/lib/active_record/persistence.rb

Co-authored-by: Sunny Ripert <sunny@sunfox.org>
This commit is contained in:
Dorian Marié 2021-06-08 15:32:16 +02:00 committed by GitHub
parent 562ec582f7
commit ecda489c93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -285,7 +285,8 @@ module ActiveRecord
#
# ==== Parameters
#
# * +id+ - This should be the id, an array of ids to be updated, or nothing or :all for all objects.
# * +id+ - This should be the id or an array of ids to be updated.
# Optional argument, defaults to all records in the relation.
# * +attributes+ - This should be a hash of attributes or an array of hashes.
#
# ==== Examples