title: How to set css class for Rails date_select year select?
body: <p>I have this bit of code:</p>
  
  <pre><code>= f.date_select :dateofbirth, :start_year =&gt; Date.current.year, :end_year =&gt; 1930, :html=&gt;{:class =&gt; "choose_dateofbirth"} 
  </code></pre>
  
  <p>where I'd like to set a class to the year select only, can that be done and if so - how?</p>
  
  <p>Note that at current state it doesn't set any class to any select field.</p>