diff options
author | Vladimir Rybas <vladimirrybas@gmail.com> | 2015-07-03 11:25:41 +0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-20 15:55:49 -0600 |
commit | 23f57413d00b0fba6c9198290a5533ba8a4c79eb (patch) | |
tree | aecdebaaa43e9ae588b5069b2bb91f79b837f2af /activerecord/lib/active_record/attributes.rb | |
parent | cceaa5c8535a42e25aab0033ed9764ded1e28adf (diff) | |
download | rails-23f57413d00b0fba6c9198290a5533ba8a4c79eb.tar.gz rails-23f57413d00b0fba6c9198290a5533ba8a4c79eb.tar.bz2 rails-23f57413d00b0fba6c9198290a5533ba8a4c79eb.zip |
[Rails Guides] Clarify `belongs_to_required_by_default` option
Original:
* `config.active_record.belongs_to_required_by_default` is a boolean
value and controls whether `belongs_to` association is required by
default.
Modified version:
* `config.active_record.belongs_to_required_by_default` is a boolean
value and controls whether validation error is triggered by
default if `belongs_to` association is not present or not valid.
Diffstat (limited to 'activerecord/lib/active_record/attributes.rb')
0 files changed, 0 insertions, 0 deletions