Skip to content
This repository
Browse code

fix sentence fragment in validates_associated caution

  • Loading branch information...
commit 4d8158d9e5ada4aff5dc62712b7c4730b60cde48 1 parent 366e0fb
Jamison Dance authored
2  railties/guides/source/active_record_validations_callbacks.textile
Source Rendered
@@ -197,7 +197,7 @@ end
197 197
 
198 198
 This validation will work with all of the association types.
199 199
 
200  
-CAUTION: Don't use +validates_associated+ on both ends of your associations, they would call each other in an infinite loop.
  200
+CAUTION: Don't use +validates_associated+ on both ends of your associations. They would call each other in an infinite loop.
201 201
 
202 202
 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.
203 203
 

0 notes on commit 4d8158d

Please sign in to comment.
Something went wrong with that request. Please try again.