<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -635,31 +635,15 @@ In Ruby 1.9 the &lt;tt&gt;%&lt;/tt&gt; string operator supports key-based interpolation, bot
 
 Active Support adds that functionality to &lt;tt&gt;%&lt;/tt&gt; in previous versions of Ruby.
 
-h4. +start_with?+ and +end_width?+
+h4. +starts_with?+ and +ends_width?+
 
-Ruby 1.8.7 and up define the predicates +String#start_with?+ and +String#end_with?+:
-
-&lt;ruby&gt;
-&quot;foo&quot;.start_with?(&quot;f&quot;) # =&gt; true
-&quot;foo&quot;.start_with?(&quot;g&quot;) # =&gt; false
-&quot;foo&quot;.start_with?(&quot;&quot;)  # =&gt; true
-
-&quot;foo&quot;.end_with?(&quot;o&quot;)   # =&gt; true
-&quot;foo&quot;.end_with?(&quot;p&quot;)   # =&gt; false
-&quot;foo&quot;.end_with?(&quot;&quot;)    # =&gt; true
-&lt;/ruby&gt;
-
-If strings do not respond to those methods Active Support emulates them, and also defines their 3rd person aliases:
+Active Support defines 3rd person aliases of +String#start_with?+ and +String#end_with?+:
 
 &lt;ruby&gt;
 &quot;foo&quot;.starts_with?(&quot;f&quot;) # =&gt; true
 &quot;foo&quot;.ends_with?(&quot;o&quot;)   # =&gt; true
 &lt;/ruby&gt;
 
-in case you feel more comfortable spelling them that way.
-
-WARNING. Active Support invokes +to_s+ on the argument, but Ruby does not. Since Active Support defines these methods only if strings do not respond to them, this corner of their behaviour depends on the interpreter that runs a given Rails application. You change the interpreter, and +start_with?(1)+ may change its return value. In consequence, it's more portable not to rely on that and pass always strings.
-
 h4. Access
 
 h5. +at(position)+</diff>
      <filename>railties/guides/source/active_support_core_extensions.textile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>79829560137ab6ab2ff1db3e5fa1977f4790152e</id>
    </parent>
  </parents>
  <author>
    <name>Xavier Noria</name>
    <email>fxn@hashref.com</email>
  </author>
  <url>http://github.com/lifo/docrails/commit/9754debb9a72f9385950e5282f3642b995ab76d8</url>
  <id>9754debb9a72f9385950e5282f3642b995ab76d8</id>
  <committed-date>2009-11-09T14:50:32-08:00</committed-date>
  <authored-date>2009-11-09T14:50:32-08:00</authored-date>
  <message>AS guide: removes docs for String#start_with? and String#end_with?, no longer in AS</message>
  <tree>bad40da46afdc273856c9102217d231fb602d1f5</tree>
  <committer>
    <name>Xavier Noria</name>
    <email>fxn@hashref.com</email>
  </committer>
</commit>
