title: Ruby on Rails: .constantize: wrong constant name error?
body: <p>I'm using this:       </p>
  
  <pre><code>4.times { |i| assert_not_equal("content#{i + 2}".constantize, object.first_content) }
  </code></pre>
  
  <p>and i have previously declared local variables</p>
  
  <pre><code>content1
  content2
  content3
  content4
  content5
  </code></pre>
  
  <p>the error I get</p>
  
  <pre><code>NameError: wrong constant name content2
  </code></pre>
  
  <p>Whot does this error mean? I'm pretty sure that I want content2 =\</p>