@@ -31,9 +31,9 @@ if you are applying the same criteria to most queries.
3131Named Scopes
3232------------
3333
34- Named scopes are criteria defined at class load that are
35- referenced by a provided name. Similar to normal criteria, they are
36- lazily loaded and chainable.
34+ Named scopes are criteria defined at class load that are referenced by a
35+ provided name. Similar to filter criteria, they are lazily loaded and
36+ chainable.
3737
3838This example defines a ``Band`` model that includes the following named
3939scopes:
@@ -140,8 +140,8 @@ as boolean values or integers.
140140 :language: ruby
141141 :dedent:
142142
143- You *should not* use dot notation to reference nested fields in default
144- scopes. This can lead to {+odm+} initializing unexpected fields in new
143+ We do not recommend using dot notation to reference nested fields in default
144+ scopes. This can direct {+odm+} to initialize unexpected fields in new
145145models.
146146
147147For example, if you define a default scope that references the
@@ -158,7 +158,7 @@ Associations
158158If you define a default scope on a model that is part of an
159159association, you must reload the association to have scoping reapplied.
160160This is necessary for when you change a value of a document in the
161- association that would affect its visibility when the scope is applied.
161+ association that affects its visibility when the scope is applied.
162162
163163This example uses the following models:
164164
@@ -255,4 +255,4 @@ the following example:
255255Additional Information
256256----------------------
257257
258- .. TODO add additional info
258+ .. TODO add info links
0 commit comments