aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-10-25 04:18:49 +0530
committerPratik Naik <pratiknaik@gmail.com>2008-10-25 04:18:49 +0530
commit0ea10019f790ee42c6426f62622700107c2d53c6 (patch)
treed95daff3b7eb8d0b9bceb6900169d1cd31ea037f
parentb62c164997924041d26cab802e238652307d3f9a (diff)
downloadrails-0ea10019f790ee42c6426f62622700107c2d53c6.tar.gz
rails-0ea10019f790ee42c6426f62622700107c2d53c6.tar.bz2
rails-0ea10019f790ee42c6426f62622700107c2d53c6.zip
Enum#many?
-rw-r--r--railties/doc/guides/html/2_2_release_notes.html2
-rw-r--r--railties/doc/guides/source/2_2_release_notes.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/doc/guides/html/2_2_release_notes.html b/railties/doc/guides/html/2_2_release_notes.html
index d21905f715..7e975d35a6 100644
--- a/railties/doc/guides/html/2_2_release_notes.html
+++ b/railties/doc/guides/html/2_2_release_notes.html
@@ -935,7 +935,7 @@ The addition of <tt>ActiveSupport::Rescuable</tt> allows any class to mix in the
</li>
<li>
<p>
-<tt>Enumerable#several?</tt> to encapsulate <tt>collection.size &gt; 1</tt>
+<tt>Enumerable#many?</tt> to encapsulate <tt>collection.size &gt; 1</tt>
</p>
</li>
<li>
diff --git a/railties/doc/guides/source/2_2_release_notes.txt b/railties/doc/guides/source/2_2_release_notes.txt
index 4543b5309c..8d627c9e63 100644
--- a/railties/doc/guides/source/2_2_release_notes.txt
+++ b/railties/doc/guides/source/2_2_release_notes.txt
@@ -349,7 +349,7 @@ Lead Contributor: link:http://workingwithrails.com/person/5830-daniel-schierbeck
* The addition of +ActiveSupport::Rescuable+ allows any class to mix in the +rescue_from+ syntax.
* +past?+, +today?+ and +future?+ for +Date+ and +Time+ classes to facilitate date/time comparisons.
* +Array#second+ through +Array#tenth+ as aliases for +Array#[1]+ through +Array#[9]+
-* +Enumerable#several?+ to encapsulate +collection.size > 1+
+* +Enumerable#many?+ to encapsulate +collection.size > 1+
* +Inflector#parameterize+ produces a URL-ready version of its input, for use in +to_param+.
* +Time#advance+ recognizes fractional days and weeks, so you can do +1.7.weeks.ago+, +1.5.hours.since+, and so on.
* The included TzInfo library has been upgraded to version 0.3.11.