aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/migrations/writing_a_migration.txt
diff options
context:
space:
mode:
Diffstat (limited to 'railties/doc/guides/migrations/writing_a_migration.txt')
-rw-r--r--railties/doc/guides/migrations/writing_a_migration.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/migrations/writing_a_migration.txt b/railties/doc/guides/migrations/writing_a_migration.txt
index e87838b0d2..d791658278 100644
--- a/railties/doc/guides/migrations/writing_a_migration.txt
+++ b/railties/doc/guides/migrations/writing_a_migration.txt
@@ -120,7 +120,7 @@ end
---------------------
will add an `attachment_id` column and a string `attachment_type` column with a default value of 'Photo'.
-NOTE: The `references` helper does not actually create foreign key constraints for you. You will need to use execute for that.
+NOTE: The `references` helper does not actually create <<foreign_key,foreign key>> constraints for you. You will need to use execute for that.
If the helpers provided by Active Record aren't enough you can use the `execute` function to execute arbitrary SQL.