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)
158158 queryable . scoped ( options )
159159 end
160160
161- # Get the criteria without the default scoping applied.
161+ # Get the criteria without any scoping applied.
162162 #
163163 # @example Get the unscoped criteria.
164164 # Band.unscoped
165165 #
166- # @example Yield to block with no default scoping.
166+ # @example Yield to block with no scoping.
167167 # Band.unscoped do
168168 # Band.where(name: "Depeche Mode")
169169 # end
170170 #
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.
172173 #
173174 # @return [ Criteria | Object ] The unscoped criteria or result of the
174175 # block.
You can’t perform that action at this time.
0 commit comments