diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-10-27 12:12:21 -0500 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-10-27 12:12:21 -0500 |
commit | 92320985fab909adc39ea927f095421ae16a5d27 (patch) | |
tree | 63bf845ba008900a3155f46d5d1420109f9374c3 /railties | |
parent | f7b6e70b71c7198fe8cf2c5e254d9e7dd27f5a74 (diff) | |
download | rails-92320985fab909adc39ea927f095421ae16a5d27.tar.gz rails-92320985fab909adc39ea927f095421ae16a5d27.tar.bz2 rails-92320985fab909adc39ea927f095421ae16a5d27.zip |
Fix reference to StringQuestioneer (renamed to StringInquirer) in 2.2 release notes
Diffstat (limited to 'railties')
-rw-r--r-- | railties/doc/guides/html/2_2_release_notes.html | 7 | ||||
-rw-r--r-- | railties/doc/guides/source/2_2_release_notes.txt | 3 |
2 files changed, 8 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 0ac5376cc8..5e3b2cfc88 100644 --- a/railties/doc/guides/html/2_2_release_notes.html +++ b/railties/doc/guides/html/2_2_release_notes.html @@ -953,6 +953,11 @@ The addition of <tt>ActiveSupport::Rescuable</tt> allows any class to mix in the The included TzInfo library has been upgraded to version 0.3.11.
</p>
</li>
+<li>
+<p>
+<tt>ActiveSuport::StringInquirer</tt> gives you a pretty way to test for equality in strings: <tt>ActiveSupport::StringInquirer.new("abc").abc? ⇒ true</tt>
+</p>
+</li>
</ul></div>
</div>
<h2 id="_railties">10. Railties</h2>
@@ -1051,7 +1056,7 @@ Instructions for setting up a continuous integration server to build Rails itsel </li>
<li>
<p>
-Wrapped <tt>Rails.env</tt> in <tt>StringQuestioneer</tt> so you can do <tt>Rails.env.development?</tt>
+Wrapped <tt>Rails.env</tt> in <tt>StringInquirer</tt> so you can do <tt>Rails.env.development?</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 275cb095fd..2b3c606e62 100644 --- a/railties/doc/guides/source/2_2_release_notes.txt +++ b/railties/doc/guides/source/2_2_release_notes.txt @@ -353,6 +353,7 @@ Lead Contributor: link:http://workingwithrails.com/person/5830-daniel-schierbeck * +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. +* +ActiveSuport::StringInquirer+ gives you a pretty way to test for equality in strings: +ActiveSupport::StringInquirer.new("abc").abc? => true+ == Railties @@ -384,7 +385,7 @@ You can unpack or install a single gem by specifying +GEM=_gem_name_+ on the com * +script/console+ now supports a +--debugger+ option * Instructions for setting up a continuous integration server to build Rails itself are included in the Rails source * +rake notes:custom ANNOTATION=MYFLAG+ lets you list out custom annotations. -* Wrapped +Rails.env+ in +StringQuestioneer+ so you can do +Rails.env.development?+ +* Wrapped +Rails.env+ in +StringInquirer+ so you can do +Rails.env.development?+ * +script/generate+ works without deprecation warnings when RubyGems 1.3.0 is present == Deprecated |