title: "wrong constant name" error when generating a new model
body: <p>I'm trying to create a new model like this:</p>
  
  <pre><code>rails generate model Tags name:string
  </code></pre>
  
  <p>When I run this, I get the following error:</p>
  
  <pre><code>base.rb:266:in `const_defined?': wrong constant name tags (NameError)
  </code></pre>
  
  <p>Any thoughts?  I tried changing Tags to ReportTags and it still gave me the same error.</p>