From bf853ac3fe6f2d10ba3da849086ad0e01a1bc9b4 Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Wed, 12 Jul 2023 12:59:14 -0500 Subject: [PATCH] Remove unnecessary alias references [ci-skip] RDoc lists method aliases automatically. --- .../connection_adapters/abstract/schema_statements.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index 0a4bb26030799..e0e6ff85dae93 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -983,7 +983,6 @@ def index_name_exists?(table_name, index_name) # Adds a reference. The reference column is a bigint by default, # the :type option can be used to specify a different type. # Optionally adds a +_type+ column, if :polymorphic option is provided. - # #add_reference and #add_belongs_to are acceptable. # # The +options+ hash can include the following keys: # [:type] @@ -1034,7 +1033,6 @@ def add_reference(table_name, ref_name, **options) alias :add_belongs_to :add_reference # Removes the reference(s). Also removes a +type+ column if one exists. - # #remove_reference and #remove_belongs_to are acceptable. # # ====== Remove the reference #