File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -158,17 +158,18 @@ def scoped(options = nil)
158
158
queryable . scoped ( options )
159
159
end
160
160
161
- # Get the criteria without the default scoping applied.
161
+ # Get the criteria without any scoping applied.
162
162
#
163
163
# @example Get the unscoped criteria.
164
164
# Band.unscoped
165
165
#
166
- # @example Yield to block with no default scoping.
166
+ # @example Yield to block with no scoping.
167
167
# Band.unscoped do
168
168
# Band.where(name: "Depeche Mode")
169
169
# end
170
170
#
171
- # @note This will force the default scope to be removed.
171
+ # @note This will force the default scope, as well as any scope applied
172
+ # using ``.with_scope``, to be removed.
172
173
#
173
174
# @return [ Criteria | Object ] The unscoped criteria or result of the
174
175
# block.
You can’t perform that action at this time.
0 commit comments