I have a customized form but whatever written on the form is not saved in database <p><img src="https://i.stack.imgur.com/NuemA.png" alt="enter image description here">I have a form that uses styles of twitter/bootstrap however the content of the form is not saved. May I please know what am I missing?</p> <pre><code> &lt;%= form_for @customer_detail, url: { action: "create" } do |f| %&gt; &lt;div class="form-group"&gt; &lt;div class="row"&gt; &lt;div class='col-sm-3'&gt; &lt;label for="Check in"&gt;Check in:&lt;/label&gt;&lt;br&gt; &lt;div class='input-group date' id='datetimepicker1'&gt; &lt;input class="form-control" type='text'&gt; &lt;span class="input-group-addon"&gt;&lt;span class= "glyphicon glyphicon-calendar"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;/div&gt;&lt;label for="Check out"&gt;Check out:&lt;/label&gt;&lt;br&gt; &lt;div class='col-sm-3'&gt; &lt;div class='input-group date' id='datetimepicker2'&gt; &lt;input class="form-control" type='text'&gt; &lt;span class="input-group-addon"&gt;&lt;span class= "glyphicon glyphicon-calendar"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;% end %&gt; </code></pre>