title: Ruby/Rails - Models Named with Two Words (Naming Convention Issues)
body: <p>This is really a question about naming conventions.</p>
  
  <p>I have a model called PromotedEvents</p>
  
  <p>The file is called promoted_events.rb</p>
  
  <p>I created the table with:</p>
  
  <pre><code>create_table :promoted_events do |t|
  </code></pre>
  
  <p>Now I'm having problems creating anything, so I'm wondering if theres some problem using model with two words</p>
  
  <p>im in the console and tried </p>
  
  <pre><code>a = PromotedEvents.new
  
  a = Promoted_Event.new
  
  a = promoted_event.new
  </code></pre>
  
  <p>and keep getting a <code>nameerror : uninitialized constant</code> error</p>
  
  <p>Any ideas?</p>