wonderous. Either way, easy to write find! On 8/29/06, Jarkko Laine <[EMAIL PROTECTED]> wrote: > On 30.8.2006, at 9.24, Kevin Clark wrote: > > > > Does .blank? handle [] as well as "" and nil? I was going to use > > .empty? but then I'd have to check that the method existed. > > Oh yes, it's ingeniuos. See http://dev.rubyonrails.org/browser/trunk/ > activesupport/lib/active_support/core_ext/blank.rb > > //jarkko > > -- > Jarkko Laine > http://jlaine.net > http://odesign.fi > > > >
-- Kevin Clark http://glu.ttono.us --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
