Sha256: a7e93005ae80c6c1e00408e1046e2f51f8144aa7de6af77ecbfba84a564976c5
Contents?: true
Size: 567 Bytes
Versions: 1
Compression:
Stored size: 567 Bytes
Contents
0.3.0 / 2012-02-27 * Now my_cohort = Person.cohort({:favorite_color => 'heliotrope', :birthdate => @date_range}, :importance => [:birthdate, :favorite_color]) will return a Arel::Nodes::Node which can be combined like Person.where(my_cohort.and("gender = 'male")) - it does NOT return a "scope" like before. * Refactor to take advantage of ARel. 0.2.0 * No longer "flattens" or "sanitizes" characteristics by turning records into integer IDs, etc. You should pass in exactly what you would pass into a normal ActiveRecord relation/scope. 0.1.0 * First version!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cohort_scope-0.3.0 | CHANGELOG |