Skip to content

Commit acfb65b

Browse files
committed
highlighting
1 parent 28e3a9d commit acfb65b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/interact-data/scoping.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ retrieve documents in which the ``active`` field value is ``true``:
117117
:end-before: end-default-scope-1
118118
:language: ruby
119119
:dedent:
120+
:emphasize-lines: 7
120121

121122
Then, any queries on the ``Band`` model pre-filter for documents in which the
122123
``active`` value is ``true``.
@@ -139,6 +140,7 @@ as boolean values or integers.
139140
:end-before: end-default-scope-2
140141
:language: ruby
141142
:dedent:
143+
:emphasize-lines: 5, 7
142144

143145
We do not recommend using dot notation to reference nested fields in default
144146
scopes. This can direct {+odm+} to initialize unexpected fields in new

0 commit comments

Comments
 (0)