The array has objects on it, so it isn't blank.

-
Maurício Linhares
http://techbot.me/ - http://twitter.com/#!/mauriciojr



On Monday, July 9, 2012 at 11:15 AM, Michael Boutros wrote:

> Hello:
>  
> 1.9.3p194 :014 > "".blank?
> => true  
> 1.9.3p194 :015 > ["", ""].blank?
> => false  
>  
>  
> Proposal: the second line should also produce true.
>  
> Thoughts?  
>  
> --  
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Core" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/rubyonrails-core/-/Rbgmrz1cT7AJ.
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-core?hl=en.



-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to