Carlos <angus / quovadis.com.ar> wrote:

> 
> If fieldsHash is a normal ruby Hash, the order of the keys is
> arbitrary.

no, it is a so called "OrderedHash"...

> 
> To see what is in a variable, use 'p' or #inspect. 'p' prints,
> #inspect returns a string.
> 
> $ ruby -e 'a=["1",2,["3"]]; p a; puts a.inspect'
> ["1", 2, ["3"]]
> ["1", 2, ["3"]]

ok, tanxs, this will help me a lot seeing the structure of an array
instead of the flatten way used by print...

by the way, i've found my error, i had to use JavaUtil::Vector instead
of Ruby Arrays (i'm using JRuby to set a java-swing table model...)
-- 
yt