title: Rails: Unknown attribute during model create
body: <p>I have an error message - "unknown attribute :news_id" but I can't understand where the problem is. I have news controller and I want to create comments for every news. I hope that someone could help me. Thanks in advance.</p>
  
  <p>schema.rb</p>
  
  <pre><code>create_table "comments", :primary_key =&gt; "ID", :force =&gt; true do |t| 
    t.integer "Author_ID" 
    t.integer "News_ID", :null =&gt; false 
    t.string "Content", :limit =&gt; 500, :null =&gt; false 
    t.datetime "Date", :null =&gt; false 
  end
  </code></pre>
  
  <p>Comment model:</p>
  
  <pre><code>belongs_to :news
  </code></pre>
  
  <p>News model:</p>
  
  <pre><code>has_many :comments
  </code></pre>