Chris Habgood wrote: > I assign an array to a hash value. When I inspect it shows the array > but when I try to access the array by the hash index it is nil. > Ideas? > > Here is the log output of the inspect hash: > > {:has_key=>0, :ext_array=>["Text file (.txt)<br/>", "Rich Text Format > (.rtf)<br/>", "Word Document (.doc, .docx)<br/>"]} > > When I do: > > h[:ext_array] it is nil.
If u don't mind can u give me the whole code. -- Posted via http://www.ruby-forum.com/. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.