>> For example, I want the code to return the value of the
>> 'order' field in the second object in the trainArray.
> 
> Like this?
> 
> second_order = train_array[1]['order']

Awesome! This is the syntax that I needed, thanks Robert.
-- 
Posted via http://www.ruby-forum.com/.