Lets say I have a Collection of users. Is there a way of using mongoid to find n random users in the collection where it does not return the same user twice? For now lets say
Just encountered such a problem. Tried
Model.all.sample
and it works for me