Skip to content

Commit a553dd1

Browse files
committed
Fix rdoc link to SchemaStatements#add_check_constraint
1 parent 614639c commit a553dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ def validate_foreign_key(from_table, to_table = nil, **options)
922922
#
923923
# validate_check_constraint :products, name: "price_check"
924924
#
925-
# The +options+ hash accepts the same keys as add_check_constraint[rdoc-ref:ConnectionAdapters::SchemaStatements#add_check_constraint].
925+
# The +options+ hash accepts the same keys as {add_check_constraint}[rdoc-ref:ConnectionAdapters::SchemaStatements#add_check_constraint].
926926
def validate_check_constraint(table_name, **options)
927927
chk_name_to_validate = check_constraint_for!(table_name, **options).name
928928

0 commit comments

Comments
 (0)