On Fri, Apr 16, 2010 at 13:44, Jonas Nicklas <[email protected]>wrote:
> > @users = @users.select(&:admin?) if @admins_only > @users.sort > > I think that is infinitely easier to read and understand (it took me a > while to figure out what the hell your code was doing). Just because > you *can* make everything into a one-liner in Ruby, doesn't mean you > *should*. I fully support Jonas. Anyway, what's the track record of getting a language extension into Active Support if it's not being used inside the framework? I'd say very low. -- 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.
