From: Joshua Muheim Date: 2006-08-10T07:03:32+09:00 Subject: Newbie: Symbol as array index error Hi all I'm terrible sorry for this newbie question, but I really can't figure it out. :O I want to create a method that accepts a hash of parameters: def write_email *args '' end But when I call it... <%= write_email :name => 'info', :domain => 'atelier-schmuck.ch', :subject => 'www.atelier-schmuck.ch - Kontaktanfrage', :body => 'Hoi du! :-)' %> I get this error: Symbol as array index Where's the problem? Thanks for help... Joshua -- Posted via http://www.ruby-forum.com/.