aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Noble <perlwizard@gmail.com>2011-12-03 19:24:43 -0700
committerJason Noble <perlwizard@gmail.com>2011-12-03 19:31:45 -0700
commit718d0ea985e0c552fa9d2312c53e308cbfea440b (patch)
tree10a77802dc9cc7749f23a9415f0121fa37cf3f81
parent914b85f12492adad35108405d498da314584b9bf (diff)
downloadrails-718d0ea985e0c552fa9d2312c53e308cbfea440b.tar.gz
rails-718d0ea985e0c552fa9d2312c53e308cbfea440b.tar.bz2
rails-718d0ea985e0c552fa9d2312c53e308cbfea440b.zip
Be explicit of where the constraints are.
-rw-r--r--railties/guides/source/migrations.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile
index bb5b769f79..2290b26162 100644
--- a/railties/guides/source/migrations.textile
+++ b/railties/guides/source/migrations.textile
@@ -891,7 +891,7 @@ which models can enforce data integrity. The +:dependent+ option on associations
allows models to automatically destroy child objects when the parent is
destroyed. Like anything which operates at the application level, these cannot
guarantee referential integrity and so some people augment them with foreign key
-constraints.
+constraints in the database.
Although Active Record does not provide any tools for working directly with such
features, the +execute+ method can be used to execute arbitrary SQL. You could