forked from civiccc/modesty
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed the paradigm for distribution_by, and introduced aggregate_by.
m.aggregate_by(:users) looks like {user_id => number of tracks by this user} m.distribution_by(:users) is now equivalent to m.aggregate_by(:users).histogram
- Loading branch information
Jay Adkisson
committed
May 22, 2010
1 parent
360b28b
commit 24f5434
Showing
4 changed files
with
29 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters