After a select on a table I get a result:
[#<Result url: "http://www.url.com/1", key_id: 1>,
#<Result url: "http://www.url.com/1", key_id: 2> [...]
How can I group the url
and keep the key_id
, something like:
["http://www.url.com/1", [1, 2]]=>2
Thank you