I liked the idea. I was just wondering if ":when_blank =>" would not fit a bit better than ":if_blank". Not that it really changes nothing and I would still like the :if_blank option, but just an idea...
Em 13-09-2009 12:40, Chris escreveu: > I like the idea of being able to render a collection in one line and I > too find it a bit clunky to include the conditional and literal > content for the blank condition alongside the 99% case. > > +1 for :if_blank > > -Chris > > On Sep 12, 6:15 am, rouffj<[email protected]> wrote: > >> Thanks guys for your suggestions. I Think that i'll adopt :if_blank >> option name. >> >> Thanks again. >> >> Anyone has other ideas ? >> >> On Sep 12, 4:33 am, Trek Glowacki<[email protected]> wrote: >> ... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
