On Mon, Jul 9, 2012 at 4:23 PM, Michael Boutros <michael.bout...@gmail.com>wrote:
Geoff, > > But from the Rails documentation: An object is blank if it’s false, > empty, or a whitespace string. For example, “”, “ ”, nil, [], and {} are > all blank. That's why I think an array full of false, empty, or whitespace > strings should be empty. > Why? [""] is not an empty array. Maybe this description may help? http://guides.rubyonrails.org/active_support_core_extensions.html#blank-and-present -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.