title: NoMethodError in my Teams#Show
body: <p>For some reason I get an error on this line. Everything seems to be correct.</p>
  
  <pre><code>undefined method `datetime' for #&lt;Game:0x87e73f0&gt; 
  </code></pre>
  
  <p>Screenshot of console log:
  www.gyazo.com/0947c493218a3fecdb5849e1e13f181a</p>
  
  <p>app/views/games/_form.html.erb where line #4 raised</p>
  
  <pre><code>&lt;%= f.text_field :datetime %&gt;
  </code></pre>
  
  <p>Migration file:</p>
  
  <pre><code>class CreateGames &lt; ActiveRecord::Migration
    def change
      create_table :games do |t|
        t.string :datetime
        t.string :location
        t.references :team, index: true
  
        t.timestamps null: false
      end
    end
  end
  </code></pre>
  
  <p>Partial Form:</p>
  
  <pre><code>&lt;%= form_for([@team, @team.games.build]) do |f| %&gt;
      &lt;p&gt;
          &lt;%= f.label :datetime %&gt;&lt;br&gt;
          &lt;%= f.text_field :datetime %&gt;
      &lt;/p&gt;
  
      &lt;p&gt;
          &lt;%= f.label :location %&gt;&lt;br&gt;
          &lt;%= f.text_field :location %&gt;
      &lt;/p&gt;
  
      &lt;br&gt;
  
      &lt;p&gt;
          &lt;%= f.submit %&gt;
      &lt;/p&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Routes file:</p>
  
  <pre><code>Rails.application.routes.draw do
  
    devise_for :users
    resources :teams do
      resources :members
    end
  
    resources :teams do
      resources :games
    end
  
    root "teams#index"
  end
  </code></pre>