Hi,

 In your login method in commonipe.rb on line 5, you're doing some sort of
concatenation of a nil to a string, likely something like this:
puts "my value is: " + foo

foo is nil while you're running your test for whatever reason. You need to
figure out why you're getting nil if you're not expecting it or account for
it if you are.
puts "my value is: " + foo unless foo.nil?

The stack trace is there to help you figure out what went wrong, work your
way back through it if you aren't expecting nil.

-Charley

On 7/12/07, murali <[EMAIL PROTECTED]> wrote:

hi

can any one solve this iam getting this error while running the script.

./lib/commonipe.rb:5:in `+': can't convert nil into String (TypeError)
        from ./lib/commonipe.rb:5:in `login'
        from D:/Documents and Settings/mmopur/Desktop/IPE
Aut/Category.rb:46
        from D:/Documents and Settings/mmopur/Desktop/IPE
Aut/Category.rb:30:in
`each'
        from D:/Documents and Settings/mmopur/Desktop/IPE
Aut/Category.rb:30



regards
murali
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to