From: Giampiero Zanchi Date: 2009-12-22T23:00:29+09:00 Subject: Re: newbie: if is not null else... my post was unaware of the preceding replies you have x.to_s =~ /Null/ what is x? try p x.class -- Posted via http://www.ruby-forum.com/.