Simple distribution-based sampling of arbitrary objects via the use of, well, buckets.
Tyson Tate
gem "buckets", "~> 0.0.1"