diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-04-16 11:42:18 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-04-19 20:08:29 +0530 |
commit | 8b4d344815655027d9f7584c0a59271dce8f1d5a (patch) | |
tree | cf98e4e0c22a1584fb574d10ef18cae56374eb36 /RELEASING_RAILS.md | |
parent | 10da0a27512e108a5cde3eeba774b01c15f6c43a (diff) | |
download | rails-8b4d344815655027d9f7584c0a59271dce8f1d5a.tar.gz rails-8b4d344815655027d9f7584c0a59271dce8f1d5a.tar.bz2 rails-8b4d344815655027d9f7584c0a59271dce8f1d5a.zip |
Add `null: false` constraint by default for `belongs_to` associations
- Also deprecate passing {required} to the model generator.
- Also made sure the global config `belongs_to_required_by_default` is
applied correctly to the model generator for `null: false` option.
Diffstat (limited to 'RELEASING_RAILS.md')
0 files changed, 0 insertions, 0 deletions