title: Rails 4 - Convert datetime into separate date and time fields
body: <p>How can you convert a mysql datetime field into two form fields (1) date only, (2) time only, and combine both fields back into datetime format on form submit?</p>
  
  <p>This would allow the use of the following gems, but store the dates in a single datetime field:</p>
  
  <pre><code>gem 'bootstrap-datepicker-rails'
  gem 'bootstrap-timepicker-rails'
  </code></pre>
  
  <p>Thanks in advance!</p>