@@ -1077,9 +1077,9 @@ documents which satisfy the scope condition.. The scope may be either:
10771077
10781078.. note::
10791079
1080- Mongoid's syntax for scoped association differs from that of Active Record .
1080+ Mongoid's syntax for scoped association differs from that of ActiveRecord .
10811081 Mongoid uses the ``:scope`` keyword argument for consistency with other
1082- association options, whereas in Active Record the scope is a positional
1082+ association options, whereas in ActiveRecord the scope is a positional
10831083 argument.
10841084
10851085
@@ -1233,8 +1233,8 @@ to be deleted. The options are as follows:
12331233- ``:restrict_with_exception``: ``raise`` an error if the child is not empty.
12341234- ``:restrict_with_error``: Cancel operation and return false if the child is not empty.
12351235
1236- If no ``:dependent`` option is provided, deleting the parent record leaves the child record unmodified
1237- (in other words, the child record continues to reference the now deleted parent record via the foreign key field).
1236+ If no ``:dependent`` option is provided, deleting the parent document leaves the child document unmodified
1237+ (in other words, the child document continues to reference the now deleted parent document via the foreign key field).
12381238The child may become orphaned if it is ordinarily only referenced via the parent.
12391239
12401240.. code-block:: ruby
@@ -1620,7 +1620,7 @@ with, and is useful for developers of extensions to Mongoid.
16201620 * - ``Association#name``
16211621 - Returns the association name.
16221622 * - ``Association#options``
1623- - Returns self, for API compatibility with Active Record .
1623+ - Returns self, for API compatibility with ActiveRecord .
16241624 * - ``Association#order``
16251625 - Returns the custom sorting options on the association.
16261626 * - ``Association#polymorphic?``
0 commit comments