title: Rails form input fields not saving to DB (but created_at timestamp is)
body: <p>I am new to rails and trying to understand why my form doesnt't get saved to the database. This might be a consequence of me not fully grasping the MVC framework of rails so hopefully once I figure this out it will provide clarity. </p>
  
  <p>The update time saves but the remaining records show up as null. Outside of my submit button (triggering update and create timestamps) there doesnt seem to be interaction between the database and my form.</p>
  
  <p>Here is my controller:</p>
  
  <pre><code>  def create
    @recommendation=Recommendation.new
    end
  </code></pre>
  
  <p>Here is my form:</p>
  
  <pre><code>&lt;%= form_for @recommendation, url: {action: "create"} do |f| %&gt;
      &lt;% if @recommendation.errors.any? %&gt;
      &lt;div id="error_explanation"&gt;
      &lt;h2&gt;&lt;%= pluralize(@recommendation.errors.count, "error") %&gt; prohibited this recommendation from being saved:&lt;/h2&gt;
      &lt;% end %&gt; 
  
    &lt;div&gt;&lt;%= f.label "recommendation category"%&gt;&lt;br /&gt;
    &lt;%= f.text_field :rec_type %&gt;&lt;/div&gt;
  
    &lt;div&gt;&lt;%= f.label "Description" %&gt;&lt;br /&gt;
    &lt;%= f.text_field :rec_description %&gt;&lt;/div&gt;
  
    &lt;div&gt;&lt;%= f.label "Link" %&gt;&lt;br /&gt;
    &lt;%= f.text_field :link %&gt;&lt;/div&gt;
  
    &lt;div&gt; &lt;%= f.submit "Submit Recommendation" %&gt;&lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Here is my log after submitting:</p>
  
  <pre><code>Started POST "/recommendations/create" for 127.0.0.1 at 2013-12-25 00:42:39 -0500
  
  Processing by RecommendationsController#create as HTML
  
    Parameters: {"utf8"=&gt;"✓", "authenticity_token"=&gt;"U2+h08nRXgkkNp0u74a5Gmh0eSWU4gP67A2CWGaJ/fE=", "recommendation"=&gt;{"rec_type"=&gt;"asdf", "rec_description"=&gt;"efads", "link"=&gt;"wfea"}, "commit"=&gt;"Submit Recommendation"}
  
     (0.1ms)  begin transaction
  
    SQL (617.6ms)  INSERT INTO "recommendations" ("created_at", "updated_at") VALUES (?, ?)  [["created_at", Wed, 25 Dec 2013 05:42:39 UTC +00:00], ["updated_at", Wed, 25 Dec 2013 05:42:39 UTC +00:00]]
  
     (1.6ms)  commit transaction
  </code></pre>