MONGOID-4698 update warning when overriding criteria methods in scope (#5442)
MONGOID-4698 update warning when overriding criteria methods in scope (#5442)

* MONGOID-4698 update warning when overriding criteria methods in scope

* Apply suggestions from code review

Co-authored-by: Oleg Pudeyev <aa872f0244415da0fe7cddda062128938b373c32@users.noreply.github.com>

Co-authored-by: Oleg Pudeyev <aa872f0244415da0fe7cddda062128938b373c32@users.noreply.github.com>
mongodb/mongoid,mongodb/mongoid,mongodb/mongoid