diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-12-02 11:18:38 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-12-02 11:18:38 +0900 |
commit | 70c96b4423abacecb1116184c8ea4d4662b809f8 (patch) | |
tree | 8b748933156c3b2bf5631da06d651635040f58b8 | |
parent | 9f33a8f06e5bba343b0d108a41246ab8368d71d3 (diff) | |
download | rails-70c96b4423abacecb1116184c8ea4d4662b809f8.tar.gz rails-70c96b4423abacecb1116184c8ea4d4662b809f8.tar.bz2 rails-70c96b4423abacecb1116184c8ea4d4662b809f8.zip |
Fix method name in `validate_constraint` doc [ci skip]
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb index 38102b2e7a..af13a9e16f 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb @@ -594,7 +594,7 @@ module ActiveRecord # # Validates the constraint named +constraint_name+ on +accounts+. # - # validate_foreign_key :accounts, :constraint_name + # validate_constraint :accounts, :constraint_name def validate_constraint(table_name, constraint_name) return unless supports_validate_constraints? |