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

Document criteria methods like order_by and collation

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:
      None

      https://jira.mongodb.org/browse/MONGOID-4964 gives the following code snippet:

      > Model.all.order_by(name: 1).collation(locale: Rails.i18n.default_locale)

      Neither order_by nor collation appear to be documented in the tutorial.

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

              Created:
              Updated: