On 24 February 2011 21:43, Erwin <[email protected]> wrote:
> they wil be unique , before adding a new hash, I'll have to check if
> the key already exist
> but I agree with Colin, better build a straight hash first

That's kindof what I was getting at - if the keys are unique, you
don't have an array of hashes, you have a hash! :-)

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to