List the number of records that have X number of associations in has_many
|Added at||2017-01-04 20:01|
I have my Person class which will have 0 or more widgets associated
I'd like to list out the number of People that have X widgets i.e:
(which is saying 34 people have 1 widget, etc).
Here's my best effort so far:
But I receive