There are some languages in the world, very popular ones at that, where an empty string object will equal false. Ruby is not one of those languages.

>> "" == true
#=> true

:)

Leave a Reply

Your email address will not be published. Required fields are marked *