Hi Joel,

Thank you for helping me.

Im using ruby 2.0.0p247

Regarding the variables I have tried @csv and $csv without luck.

In my code above I forgot to delete the outcommented code after the #. 
Even if I remove the # it doesnt work. At the moment (with the out 
commented line above) the result is: <type> without the attribute 
"upgnr".

-- 
Posted via http://www.ruby-forum.com/.