Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Reference consistency check correction (#45840)
* Reference consistency check correction By default all belongs_to relations are set to required, and required means Rails checks the reference consistency. That sentence is correct only if the optional is set to true, then in this case Rails not only allows this field to be null but also it does not check the reference consistency. But this is not the default behavior. Co-authored-by: Eileen M. Uchitelle <eileencodes@users.noreply.github.com>
- Loading branch information