mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix sentence fragment in validates_associated caution
This commit is contained in:
parent
366e0fbd8d
commit
4d8158d9e5
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue