From: Nasir Khan Date: 2007-09-08T03:44:29+09:00 Subject: nil.to_s ------=_Part_2287_30811993.1189190662805 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline IMHO nil.to_s => "", nil.to_i => 0 and nil.to_a => [] are potential sources of confusion and bugs. If anywhere in your code you have statement like x = y.to_s then you will have to be careful to replace it with x = y.nil? ? nil : y.to_s An empty string equivalence of nil seems untuitive to me, all of these should just return nil. Is it just me or are there others who have also feel like this? Thanks Nasir ------=_Part_2287_30811993.1189190662805--