<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 *Edge*
 
+* Added Enumberable#several? to encapsulate collection.size &gt; 1 [DHH]
+
 * Add more standard Hash methods to ActiveSupport::OrderedHash [Steve Purcell]
 
 * Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ActiveSupport [Josh Peek]</diff>
      <filename>activesupport/CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -66,4 +66,9 @@ module Enumerable
       accum
     end
   end
+  
+  # Returns true if the collection has more than 1 element. Functionally equivalent to collection.size &gt; 1.
+  def several?
+    size &gt; 1
+  end
 end</diff>
      <filename>activesupport/lib/active_support/core_ext/enumerable.rb</filename>
    </modified>
    <modified>
      <diff>@@ -63,4 +63,10 @@ class EnumerableTests &lt; Test::Unit::TestCase
     assert_equal({ 5 =&gt; payments[0], 15 =&gt; payments[1], 10 =&gt; payments[2] },
                  payments.index_by { |p| p.price })
   end
+  
+  def test_several
+    assert ![].several?
+    assert ![ 1 ].several?
+    assert [ 1, 2 ].several?
+  end
 end</diff>
      <filename>activesupport/test/core_ext/enumerable_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ed0cb91a830f317e3a8192a90294c1005f6156c2</id>
    </parent>
  </parents>
  <author>
    <name>David Heinemeier Hansson</name>
    <email>david@loudthinking.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/556204abaf95f7c995576cb1358f13de406682ab</url>
  <id>556204abaf95f7c995576cb1358f13de406682ab</id>
  <committed-date>2008-06-12T15:46:15-07:00</committed-date>
  <authored-date>2008-06-12T15:46:15-07:00</authored-date>
  <message>Added Enumberable#several? to encapsulate collection.size &gt; 1 [DHH]</message>
  <tree>a84387ac04af8377b25c4c283a522dc82639bb53</tree>
  <committer>
    <name>David Heinemeier Hansson</name>
    <email>david@loudthinking.com</email>
  </committer>
</commit>
