Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4698

Warn about attempts to define text_search scope (and others?)

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.1.0, 8.0.3
    • Affects Version/s: None
    • Component/s: Query
    • Labels:
    • Fully Compatible

      In https://jira.mongodb.org/browse/MONGOID-4624 the user attempts to define a scope called `text_search`. Mongoid has a built in method that's called that, and this method is invoked regardless of whether a scope called `text_search` is defined. We should warn that the user is defining a scope with this name because it won't be used.

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: