Permalink
Browse files

fix sentence fragment in validates_associated caution

  • Loading branch information...
jergason committed Aug 26, 2010
1 parent 366e0fb commit 4d8158d9e5ada4aff5dc62712b7c4730b60cde48
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_record_validations_callbacks.textile
@@ -197,7 +197,7 @@ end
This validation will work with all of the association types.
-CAUTION: Don't use +validates_associated+ on both ends of your associations, they would call each other in an infinite loop.
+CAUTION: Don't use +validates_associated+ on both ends of your associations. They would call each other in an infinite loop.
The default error message for +validates_associated+ is "_is invalid_". Note that each associated object will contain its own +errors+ collection; errors do not bubble up to the calling model.

0 comments on commit 4d8158d

Please sign in to comment.