Document criteria methods like order_by and collation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: