@@ -16268,7 +16268,7 @@ module ActiveRecord
1626816268 # User.create([{ first_name: 'Jamie' }, { first_name: 'Jeremy' }]) do |u|
1626916269 # u.is_admin = false
1627016270 # end
16271- def create: (?untyped? attributes) { () -> untyped } -> untyped
16271+ def create: (?untyped? attributes) ? { () -> untyped } -> untyped
1627216272
1627316273 # Creates an object (or multiple objects) and saves it to the database,
1627416274 # if validations pass. Raises a RecordInvalid error if validations fail,
@@ -16277,7 +16277,7 @@ module ActiveRecord
1627716277 # The +attributes+ parameter can be either a Hash or an Array of Hashes.
1627816278 # These describe which attributes to be created on the object, or
1627916279 # multiple objects when given an Array of Hashes.
16280- def create!: (?untyped? attributes) { () -> untyped } -> untyped
16280+ def create!: (?untyped? attributes) ? { () -> untyped } -> untyped
1628116281
1628216282 # Inserts a single record into the database in a single SQL INSERT
1628316283 # statement. It does not instantiate any models nor does it trigger
@@ -16463,7 +16463,7 @@ module ActiveRecord
1646316463 #
1646416464 # See <tt>ActiveRecord::Inheritance#discriminate_class_for_record</tt> to see
1646516465 # how this "single-table" inheritance mapping is implemented.
16466- def instantiate: (untyped attributes, ?::Hash[untyped, untyped] column_types) { () -> untyped } -> untyped
16466+ def instantiate: (untyped attributes, ?::Hash[untyped, untyped] column_types) ? { () -> untyped } -> untyped
1646716467
1646816468 # Updates an object (or multiple objects) and saves it to the database, if validations pass.
1646916469 # The resulting object is returned whether the object was saved successfully to the database or not.
@@ -16544,7 +16544,7 @@ module ActiveRecord
1654416544
1654516545 # Given a class, an attributes hash, +instantiate_instance_of+ returns a
1654616546 # new instance of the class. Accepts only keys as strings.
16547- def instantiate_instance_of: (untyped klass, untyped attributes, ?::Hash[untyped, untyped] column_types) { () -> untyped } -> untyped
16547+ def instantiate_instance_of: (untyped klass, untyped attributes, ?::Hash[untyped, untyped] column_types) ? { () -> untyped } -> untyped
1654816548
1654916549 # Called by +instantiate+ to decide which class to use for a new
1655016550 # record instance.
0 commit comments