From: Ralph Mason Date: 2001-11-21T09:55:18+09:00 Subject: [ruby-talk:25970] Re: string concat and .to_s I think ruby just bit me! Or I bit myself one or the other. irb(main):051:0> 's' + [1] "s1" This works perfectly in the context that you had just written another + method for String that calls to_s. And then forgotten that you had done that. Whats that the Homer Simpson says .......Doh Ralph > > Although as a bit of an anomaly it works with arrays. > > > > 's'+[1] > > In what context? > > irbsh(main):039:0> 's' + [1] > TypeError: failed to convert Array into String > from (irbsh):39:in `+' > from (irbsh):39 > Dave >