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 bb1dedf commit 58e2a3dCopy full SHA for 58e2a3d
lib/mongoid/scopable.rb
@@ -251,8 +251,9 @@ def check_scope_name(name)
251
else
252
Mongoid.logger.warn(
253
"Creating scope :#{name} which conflicts with #{self.name}.#{name}. " +
254
- "Calls to `#{name}' will delegate to #{self.name}.#{name} and " +
255
- "will ignore the declared scope."
+ "Calls to `Mongoid::Criteria##{name}` will delegate to " +
+ "`Mongoid::Criteria##{name}` for criteria with klass #{self.name} " +
256
+ "and will ignore the declared scope."
257
)
258
end
259
0 commit comments