aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-20 15:56:39 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-10-20 15:56:39 -0600
commit1193824994887fb37ca492d7c5eb1f381f2fc220 (patch)
tree6b3c4bd264fb63d1f71ebc0a34f84dc670763dd4
parentcceaa5c8535a42e25aab0033ed9764ded1e28adf (diff)
parent59dee0f04bc98df0f1a4abbd35baf9a093200895 (diff)
downloadrails-1193824994887fb37ca492d7c5eb1f381f2fc220.tar.gz
rails-1193824994887fb37ca492d7c5eb1f381f2fc220.tar.bz2
rails-1193824994887fb37ca492d7c5eb1f381f2fc220.zip
Merge pull request #20768 from vrybas/guides-clarify-belongs-to-required-by-default
[Rails Guides] clarify `belongs_to_required_by_default` option [ci skip]
-rw-r--r--guides/source/configuring.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 87114c4ef0..e2206667e8 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -304,7 +304,9 @@ All these configuration options are delegated to the `I18n` library.
`:all` which always dumps all schemas regardless of the schema_search_path,
or a string of comma separated schemas.
-* `config.active_record.belongs_to_required_by_default` is a boolean value and controls whether `belongs_to` association is required by default.
+* `config.active_record.belongs_to_required_by_default` is a boolean value and
+ controls whether a record fails validation if `belongs_to` association is not
+ present.
* `config.active_record.warn_on_records_fetched_greater_than` allows setting a
warning threshold for query result size. If the number of records returned