title: Difference Between Rails 2.2 and 2.3.5? ActionMailer.Utils
body: <p>I would think this is a Ruby difference, but I'm using the same Ruby version 1.8.7. This is related to <a href="http://blog.thoughtobject.com/2007/05/26/5/" rel="nofollow noreferrer">this post</a> (to answer "why do you need this?"). This code works in 2.2.2</p>
  
  <pre><code>Loading development environment (Rails 2.2.2)
  &gt;&gt; module ActionMailer
  &gt;&gt; Utils.normalize_new_lines("blah")
  &gt;&gt; end
  </code></pre>
  
  <p>but in 2.3.5 it fails</p>
  
  <pre><code>Loading development environment (Rails 2.3.5)
  &gt;&gt; module ActionMailer
  &gt;&gt; Utils.normalize_new_lines("blah")
  &gt;&gt; end
  NoMethodError: undefined method `normalize_new_lines' for ActionMailer::Utils:Module
  from (irb):2
  </code></pre>
  
  <p>What's new about 2.3.5 that this would fail? The method is there in 2.3.5, so this works</p>
  
  <pre><code>Loading development environment (Rails 2.3.5)
  &gt;&gt; include ActionMailer
  &gt;&gt; include Utils
  &gt;&gt; normalize_new_lines("blah")
  </code></pre>
  
  <p>I realize this is probably an important Rails difference.</p>