Adds scopes to ActiveRecord to allow for biased and weighted random sampling from a query.
Tim Robertson
MIT