@Dave "If line 114 is where you do "@form[real] = value" then that probably means that @form is nil. " That's the problem, when i use the .csv file @form=nil if i replace the line post = WordpressSite.new(row[0], row[1], row[2]) by post = WordpressSite.new("http://example.com", "user", "password") that's why i don't understand my mistake Please find attached files i think the problem is in spam.rb thanks for helping guys and sorry for my english Attachments: http://www.ruby-forum.com/attachment/6908/spam.rb http://www.ruby-forum.com/attachment/6909/wordpress.rb -- Posted via http://www.ruby-forum.com/.