Skip to content

Commit 36542c6

Browse files
committed
MONGOID-4160 fix feature flag reference
1 parent 4963ab9 commit 36542c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/release-notes/mongoid-8.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ No Longer Persisting Documents with Invalid ``belongs_to`` Associations
360360
In Mongoid 8, if an invalid document is assigned to a ``belongs_to`` association,
361361
and the base document is saved, if the ``belongs_to`` association had the
362362
option ``optional: false`` or ``optional`` is unset and the global flag
363-
``require_belongs_to_by_default`` is true, neither the document nor the
363+
``belongs_to_required_by_default`` is true, neither the document nor the
364364
associated document will be persisted. For example, given the following
365365
models:
366366

0 commit comments

Comments
 (0)