I''m trying to display a partial with the :collection parameter.
The value i pass to the collection parameter is an array of hashes,
something like..
[{''a''=>''1''},{''a''=>''2''}].
I would have expected that if I display something like
partialname[''a'']
within my partial, I would see the values of
''1'',''2'' etc. But it comes
out a nil object.
If i use an ordinary array, or hash seems fine. Also if i use an active
record object seems fine also.
I suspect my problem is my understanding of ruby language itself.
Please help. Si.
--
Posted via http://www.ruby-forum.com/.