@@ -1077,9 +1077,9 @@ documents which satisfy the scope condition.. The scope may be either:
1077
1077
1078
1078
.. note::
1079
1079
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 .
1081
1081
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
1083
1083
argument.
1084
1084
1085
1085
@@ -1233,8 +1233,8 @@ to be deleted. The options are as follows:
1233
1233
- ``:restrict_with_exception``: ``raise`` an error if the child is not empty.
1234
1234
- ``:restrict_with_error``: Cancel operation and return false if the child is not empty.
1235
1235
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).
1238
1238
The child may become orphaned if it is ordinarily only referenced via the parent.
1239
1239
1240
1240
.. code-block:: ruby
@@ -1620,7 +1620,7 @@ with, and is useful for developers of extensions to Mongoid.
1620
1620
* - ``Association#name``
1621
1621
- Returns the association name.
1622
1622
* - ``Association#options``
1623
- - Returns self, for API compatibility with Active Record .
1623
+ - Returns self, for API compatibility with ActiveRecord .
1624
1624
* - ``Association#order``
1625
1625
- Returns the custom sorting options on the association.
1626
1626
* - ``Association#polymorphic?``
0 commit comments