Skip to content

Commit c496cb8

Browse files
authored
Merge pull request rails#53173 from jean-francois-labbe/fix-remove-column-typo
Fix remove_column API doc [ci-skip]
2 parents b4ea44f + 2b05a38 commit c496cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ def remove_columns(table_name, *column_names, type: nil, **options)
693693
#
694694
# If the options provided include an +if_exists+ key, it will be used to check if the
695695
# column does not exist. This will silently ignore the migration rather than raising
696-
# if the column was already used.
696+
# if the column was already removed.
697697
#
698698
# remove_column(:suppliers, :qualification, if_exists: true)
699699
def remove_column(table_name, column_name, type = nil, **options)

0 commit comments

Comments
 (0)