From 803ef74f9bbcbc71af12060157a996f7b65e24db Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Tue, 24 Feb 2015 22:22:15 +0100 Subject: Tiny documentation edits [ci skip] --- guides/source/association_basics.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'guides/source') diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index 0079049d44..d6b2e75e1e 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -959,7 +959,8 @@ If you set the `:validate` option to `true`, then associated objects will be val ##### `:optional` -If you set the `:optional` option to `true`, then associated object will be validated for presence. By default, this is `false`: associated objects will be validated for presence. +If you set the `:optional` option to `true`, then the presence of the associated +object won't be validated. By default, this option is set to `false`. #### Scopes for `belongs_to` -- cgit v1.2.3