diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-02-24 22:22:15 +0100 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-02-24 22:22:15 +0100 |
commit | 803ef74f9bbcbc71af12060157a996f7b65e24db (patch) | |
tree | 453d059d2abd45455032674ba58c0bca006e3c18 /guides/source | |
parent | 948424d5566dcacb726124d343d013d299c90105 (diff) | |
download | rails-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.md | 3 |
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` |