That's because ```nil.to_s``` is equal to the empty string in Ruby.