• Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Docs

      Mongoid provides `any_of` as an alias for `or`. I am unable to locate any user documentation for `any_of` in Mongoid, and it seems to not be an ActiveRecord method either as there are projects on the web advertising themselves as "providing Mongoid-like any_of for ActiveRecord".

      We should document `any_of` as an alias for `or`. I also suggest marking it deprecated since `or` functions identically, is documented and is also provided by ActiveRecord.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: