7stud -- wrote:
> h = {1=>[88, 99, 100]}
> 
> def show(a_hash)
>   puts a_hash[1]
> end
> 
> show(h)
> 
> --output:--
> 88
> 99
> 100


yeah, im not doing standard ruby like that, I'm doing it through html so 
I think it's getting screwed up in that process. I'm just going to 
calculate the hash in the other controller instead and try that.
-- 
Posted via http://www.ruby-forum.com/.