title: undefined method `new' for Product:Module
body: <pre><code>&lt;h2&gt;New Product&lt;/h2&gt;
  
  &lt;%= form_for @product do|f| %&gt;
      &lt;%= f.label :product_title %&gt;&lt;br&gt;
      &lt;%= f.text_field :product_title %&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;%= f.label :key_features %&gt;&lt;br&gt;
      &lt;%= f.text_area key_features %&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;%= f.label :price %&gt;
      &lt;%= f.number_field :price %&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;%= f.label :colour %&gt;
      &lt;%= f.number_field :colour %&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;%= f.label :main_material %&gt;
      &lt;%= f.number_field :main_material %&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;%= f.submit %&gt;
  &lt;% end %&gt;
  
  
  class ProductsController &lt; ApplicationController
      def home
      @product = Product.all
      end
      def new
      @product = Product.new
      end
  end
  
  class CreateProducts &lt; ActiveRecord::Migration
      def change
          create_table :products do |t|
              t.string :product_title
              t.text   :key_features
              t.integer :price
              t.string :colour
              t.string :main_material
  
              t.timestamps null: false
          end
      end
  end
  </code></pre>
  
  <p>Why i'm facing that error?</p>