Skip to content

Commit 3fd19bd

Browse files
authored
Merge pull request rails#55207 from p8/activerecord/improve-column-documentation
Remove documentation for non existing ColumnMethods#column [ci skip]
2 parents 276b655 + d8c4281 commit 3fd19bd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -328,17 +328,6 @@ def primary_key(name, type = :primary_key, **options)
328328
column(name, type, **options, primary_key: true)
329329
end
330330

331-
##
332-
# :method: column
333-
# :call-seq: column(name, type, **options)
334-
#
335-
# Appends a column or columns of a specified type.
336-
#
337-
# t.string(:goat)
338-
# t.string(:goat, :sheep)
339-
#
340-
# See TableDefinition#column
341-
342331
define_column_methods :bigint, :binary, :boolean, :date, :datetime, :decimal,
343332
:float, :integer, :json, :string, :text, :time, :timestamp, :virtual
344333

0 commit comments

Comments
 (0)