Model#distinct unavailable?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I tried calling distinct on my model class and it came back as a missing method. Yet, when I do MyModel.where({}).distinct(:name), I get the desired results. Shouldn't distinct be available on the model too?

            Assignee:
            Unassigned
            Reporter:
            Eugene Mirkin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: