aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-02-24 22:22:15 +0100
committerRobin Dupret <robin.dupret@gmail.com>2015-02-24 22:22:15 +0100
commit803ef74f9bbcbc71af12060157a996f7b65e24db (patch)
tree453d059d2abd45455032674ba58c0bca006e3c18 /guides/source
parent948424d5566dcacb726124d343d013d299c90105 (diff)
downloadrails-803ef74f9bbcbc71af12060157a996f7b65e24db.tar.gz
rails-803ef74f9bbcbc71af12060157a996f7b65e24db.tar.bz2
rails-803ef74f9bbcbc71af12060157a996f7b65e24db.zip
Tiny documentation edits [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/association_basics.md3
1 files changed, 2 insertions, 1 deletions
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`