module StreamSampler::ActsAsSamplable
A Concern to add stream sampling methods to ActiveRecord classes, so that you can call the StreamSampler
methods in a cleaner way:
YourModel.reservoir_sample(10)
as opposed to:
StreamSampler.reservoir_sample(YourModel, 10, :find_each)