This commit is contained in:
parent
d50ee7cb06
commit
95da6141ac
@ -60,9 +60,7 @@ module Tables
|
||||
end
|
||||
|
||||
def number_of_groups(table)
|
||||
table.map do |person|
|
||||
person.affinity_groups
|
||||
end.flatten.uniq.count
|
||||
table.map(&:affinity_groups).flatten.uniq.count
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user