diff options
Diffstat (limited to 'railties/doc/guides/html/2_2_release_notes.html')
-rw-r--r-- | railties/doc/guides/html/2_2_release_notes.html | 7 |
1 files changed, 6 insertions, 1 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>
|