patientslikeme / multi_field_group_by
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
uninstall.rb |
README
MultiFieldGroupBy ================= This plugin patches ActiveRecord::Calculations to support grouping by multiple fields. This plugin is based on a patch originally documented and submitted at http://rails.lighthouseapp.com/projects/8994/tickets/120-patch-activerecord-calculations-only-accept-one-grouping-field# ticket-120-8 Example ======= User.count, :group => [:sex, :state] Copyright (c) 2008 PatientsLikeMe, Inc., released under the MIT license

