From: Xavier Noria Date: 2010-07-15T16:42:14+09:00 Subject: Re: differnce between .nil? , .empty?, .blank? On Thu, Jul 15, 2010 at 7:45 AM, Michael Nissim wrote: > I personally find this confusing: > >>> a[:real]=false >>> a[:real]    => false >>> a[:real].blank?    => true    ?? > > if I populated a[:real] with false, why does '.blank?' return true? > That's confusing. But hey, if you can't win them, join them. I love Ruby > and Rails! It should work $ script/console Loading development environment (Rails 2.3.2) >> a = {} => {} >> a[:real] = false => false >> a[:real].blank? => true false is blank?, no matter where it is stored.