product = Product.new(:name => 'aaaa aaa', :foo => 'uuuu')

I have even tried by passing using a hash but its not working. but for 
me i need to pass the arguments as an array. so could you please suggest 
some way to proceed.

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