Yes, I meant p1 = Profession.new

and I defined users with a return type and it worked.

Thanks.

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