aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorJamison Dance <jergason@gmail.com>2010-08-26 17:48:42 -0600
committerJamison Dance <jergason@gmail.com>2010-08-26 17:48:42 -0600
commit4d8158d9e5ada4aff5dc62712b7c4730b60cde48 (patch)
treef8976604aa5b8c4c51865a8fffb98633deac1ad6 /railties/guides/source
parent366e0fbd8d9bf1b5865edb930e795a17e5547a43 (diff)
downloadrails-4d8158d9e5ada4aff5dc62712b7c4730b60cde48.tar.gz
rails-4d8158d9e5ada4aff5dc62712b7c4730b60cde48.tar.bz2
rails-4d8158d9e5ada4aff5dc62712b7c4730b60cde48.zip
fix sentence fragment in validates_associated caution
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/active_record_validations_callbacks.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile
index 1e232422e3..2601a8fbcf 100644
--- a/railties/guides/source/active_record_validations_callbacks.textile
+++ b/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.