Skip to content

Commit bf853ac

Browse files
Remove unnecessary alias references [ci-skip]
RDoc lists method aliases automatically.
1 parent ff191ce commit bf853ac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,6 @@ def index_name_exists?(table_name, index_name)
983983
# Adds a reference. The reference column is a bigint by default,
984984
# the <tt>:type</tt> option can be used to specify a different type.
985985
# Optionally adds a +_type+ column, if <tt>:polymorphic</tt> option is provided.
986-
# #add_reference and #add_belongs_to are acceptable.
987986
#
988987
# The +options+ hash can include the following keys:
989988
# [<tt>:type</tt>]
@@ -1034,7 +1033,6 @@ def add_reference(table_name, ref_name, **options)
10341033
alias :add_belongs_to :add_reference
10351034

10361035
# Removes the reference(s). Also removes a +type+ column if one exists.
1037-
# #remove_reference and #remove_belongs_to are acceptable.
10381036
#
10391037
# ====== Remove the reference
10401038
#

0 commit comments

Comments
 (0)