title: Materialize select dropdown not passing value to controller in Ruby
body: <p>I have the following code in my view:</p>
  
  <pre><code>&lt;div class="input-field col s6"&gt;
    &lt;form method="POST" action="/results"&gt;
      &lt;input type="text" id="track" class="validate" name="inicio"&gt;
      &lt;label class="active" for="track"&gt;Nro Inicial de Tracking:&lt;/label&gt;
  
  &lt;/div&gt;
    &lt;div class="input-field col s6"&gt;
      &lt;select name="sucu"&gt;
        &lt;option value="" disabled selected&gt;&lt;/option&gt;
        &lt;option value="5472"&gt;Clorinda&lt;/option&gt;
        &lt;option value="5266"&gt;Formosa&lt;/option&gt;
      &lt;/select&gt;
      &lt;label&gt;Seleccionar Sucursal&lt;/label&gt;
    &lt;/div&gt;
    &lt;button style="text-align:center;"class="btn waves-effect waves-light" type="submit" name="action"&gt;Submit
      &lt;i class="material-icons right"&gt;send&lt;/i&gt;
    &lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p></p>
  
  <p>And in my controller I'm grabbing the tracking number and <code>sucu</code> value like this:</p>
  
  <pre><code>inicio = params[:inicio].to_i
  @sucursal = params[:sucu].to_i
  </code></pre>
  
  <p>Now, for some reason, the controller is getting the <code>inicio</code> param, which is a number I input, but is not getting the value of the dropdown, instead of getting one of the two values <code>5266</code> or <code>5472</code>, I receive a <code>0</code>.</p>
  
  <p>Any idea why?</p>