From: Brian Candler Date: 2010-02-15T06:47:49+09:00 Subject: Re: Mon proprety isn't a string? Or perhaps clearer: def remove_spaces name.strip! end If there's any chance that name could actually be nil, then def remove_spaces name.strip! if name end -- Posted via http://www.ruby-forum.com/.