Skip to content

Commit

Permalink
Add type definitions to delete_all in gems/activerecord/6.0/activerec…
Browse files Browse the repository at this point in the history
…ord.rbs
  • Loading branch information
kazuyainoue0124 committed Nov 17, 2024
1 parent eccfa35 commit c77e80b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gems/activerecord/6.0/activerecord.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ module ActiveRecord
def in_batches: (?of: Integer, ?start: Integer, ?finish: Integer, ?load: bool, ?error_on_ignore: bool, ?order: untyped) { (self) -> void } -> nil
def sum: (?untyped? column_name) -> Integer
def destroy_all: () -> untyped
def delete_all: () -> untyped
def delete_all: (?Hash[Symbol, untyped] conditions) -> Integer
def update_all: (*untyped) -> untyped
def touch_all: (*untyped, ?time: untyped) -> untyped
def destroy_by: (*untyped) -> untyped
Expand Down Expand Up @@ -494,7 +494,7 @@ module ActiveRecord
def in_batches: (?of: Integer, ?start: Integer, ?finish: Integer, ?load: bool, ?error_on_ignore: bool, ?order: untyped) { (Relation) -> void } -> nil
def sum: (?untyped? column_name) -> Integer
def destroy_all: () -> untyped
def delete_all: () -> untyped
def delete_all: (?Hash[Symbol, untyped] conditions) -> Integer
def update_all: (*untyped) -> untyped
def touch_all: (*untyped, ?time: untyped) -> untyped
def destroy_by: (*untyped) -> untyped
Expand Down Expand Up @@ -576,7 +576,7 @@ interface _ActiveRecord_Relation[Model, PrimaryKey]
def in_batches: (?of: Integer, ?start: Integer, ?finish: Integer, ?load: bool, ?error_on_ignore: bool, ?order: untyped) { (self) -> void } -> nil
def sum: (?untyped? column_name) -> Integer
def destroy_all: () -> untyped
def delete_all: () -> untyped
def delete_all: (?Hash[Symbol, untyped] conditions) -> Integer
def update_all: (untyped) -> untyped
def touch_all: (*untyped, ?time: untyped) -> untyped
def destroy_by: (*untyped) -> untyped
Expand Down Expand Up @@ -662,7 +662,7 @@ interface _ActiveRecord_Relation_ClassMethods[Model, Relation, PrimaryKey]
def in_batches: (?of: Integer, ?start: Integer, ?finish: Integer, ?load: bool, ?error_on_ignore: bool, ?order: untyped) { (Relation) -> void } -> nil
def sum: (?untyped? column_name) -> Integer
def destroy_all: () -> untyped
def delete_all: () -> untyped
def delete_all: (?Hash[Symbol, untyped] conditions) -> Integer
def update_all: (untyped) -> untyped
def touch_all: (*untyped, ?time: untyped) -> untyped
def destroy_by: (*untyped) -> untyped
Expand Down

0 comments on commit c77e80b

Please sign in to comment.