title: Ruby on Rails disabled field in form select not working
body: <pre><code>&lt;%= f.select :minutes, options_for_select([['1 hour', 60], ['1 hour and a half', 90], ['2 hours', 120]][0..(@minutes_to_schedule/30-2)], 60), {}, {disabled: true} %&gt;
  </code></pre>
  
  <p>I checked the Form Helper API but despite following suit my options were still not disabled, is there anything I'm overlooking?  I looked at the other stacked posts and it doesn't seem like I'm doing anything wrong</p>
  
  <pre><code>   &lt;%= form_for(@session_date, html: {class: 'no_custom'}) do |f| %&gt;
  
        &lt;%= f.hidden_field :student_id, value: @student.id %&gt;
        &lt;%= hidden_field_tag 'from', schedule_student_path(id: @student.id) %&gt;          
        &lt;div id="appointment_display"&gt;&lt;/div&gt;         
        &lt;input id="appointment_at" type="datetime-local"  name="appointment[at]" step="900" min= "some_time" max="max_time" required="required" placeholder="Use Chrome!" style="width: auto; display: none;"/&gt;
        &lt;br/&gt;
        &lt;div id="appointment_location_display"&gt;&lt;/div&gt; 
        &lt;br/&gt;
        &lt;%= f.select :minutes, options_for_select(@appointment_time_options, 60) %&gt;
        &lt;br/&gt; 
        &lt;%= f.collection_select(:location_id, Location.order('city, state, address'), :id, :name, {}, {class: 'dont_display'}) %&gt;
        &lt;%= f.submit 'Create Appointment' %&gt;
        &lt;br/&gt;
  
      &lt;% end %&gt;    
  </code></pre>