> ree-1.8.7-2011.03 :003 > h = Hash.new {|h, k| h[k] = []}
> => {}
> ree-1.8.7-2011.03 :004 > h[:huh]
> => []
> ree-1.8.7-2011.03 :005 > h
> => {:huh=>[]}

I see. It's the behavior of ruby hash and I can't argue with that.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to