TAKAHASHI Masayoshi <maki / rubycolor.org> writes:

> In generally (especially in database), NULL and empty string
> are not the same. So we should be careful to deal with nil.

Agreed, but having 'nil' respond true to empty? means I can do

   fred.empty?

and

   fred.nil?

so I don't lose anything. I seems that having to convert something to
a string to save a test is slightly wasteful... :)


Cheers


Dave