Skip to content

Commit 2b1f6b0

Browse files
neilshwekyp-mongo
andcommitted
Update docs/release-notes/mongoid-8.0.txt
Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent c51cd56 commit 2b1f6b0

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
@@ -62,7 +62,7 @@ Storing Uncastable Types and the ``validate_attribute_types`` Flag
6262

6363
In Mongoid 8, Mongoid deals with "uncastable values" based on the values of the
6464
``validates_attribute_types`` flag. If the ``validates_attribute_types`` flag
65-
is set to true, an ``InvalidValue`` error is raise, and if it is set to false
65+
is set to true, a ``Mongoid:Errors::InvalidValue`` exception is raised, and if it is set to false
6666
a ``nil`` is written. See the secion on :ref:`Uncastable Values <uncastable-values>`
6767
for more details.
6868

0 commit comments

Comments
 (0)