Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Be explicit of where the constraints are.

  • Loading branch information...
commit 718d0ea985e0c552fa9d2312c53e308cbfea440b 1 parent 914b85f
@jasonnoble jasonnoble authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/migrations.textile
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.