Browse files

Be explicit of where the constraints are.

  • Loading branch information...
1 parent 914b85f commit 718d0ea985e0c552fa9d2312c53e308cbfea440b @jasonnoble jasonnoble committed Dec 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 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

0 comments on commit 718d0ea

Please sign in to comment.