-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: 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?