We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2fcc26 commit 6bb8789Copy full SHA for 6bb8789
lib/mongoid/criteria/findable.rb
@@ -169,12 +169,12 @@ def multi_args?(args)
169
args.size > 1 || !args.first.is_a?(Hash) && args.first.resizable?
170
end
171
172
- # Convenience method of raising an invalid options error.
+ # Convenience method of raising an invalid find error.
173
#
174
# @example Raise the error.
175
# criteria.raise_invalid
176
177
- # @raise [ Errors::InvalidOptions ] The error.
+ # @raise [ Errors::InvalidFind ] The error.
178
def raise_invalid
179
raise Errors::InvalidFind.new
180
0 commit comments