list = [ { 'name': 'Аntonello', num: 3 } { 'name': 'Sergello', num: 5 } { 'name': 'Аntonello', num: 3 } ]
list = [ { 'name': 'Аntonello', count: 2 } { 'name': 'Sergello', count: 1 } ]
Related questions
Find more questions by tags RubyRuby on Rails