Paginating grouped records
If you are grouping similar records and paginating you might need to use :group You'll want to :select only the field you're collapsing on probably.
Model.count(:select => :attribute, :group => :attribute)
This will return an OrderedHash of your attributes with a count for each.
{"Column Con...