Ruby on Rails
Friday, August 3, 2012
On 1 August 2012 14:25, Esmerino Costa <hakagura@gmail.com> wrote:
> I have a hash like so:
That's not a hash, it's an array of hashes.
> What I would like to learn how to do is how to remove a record if it is
> duplicate end sum values :val.
list.uniq!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment