Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [fda3ac6e6824d494102e8fc5f4114a550caa22b1] by David Heinemeier Hansson

Revision fda3ac6e6824d494102e8fc5f4114a550caa22b1, committed by David Heinemeier Hansson · December 15th, 2009 @ 02:01 AM

Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if !x.include?/else calls [DHH]
http://github.com/rails/rails/commit/fda3ac6e6824d494102e8fc5f4114a...

3 changed files

  • M activesupport/CHANGELOG
  • M activesupport/lib/active_support/core_ext/enumerable.rb
  • M activesupport/test/core_ext/enumerable_test.rb