title: Adding a CSS class to date_select
body: <p>I have the following date_select helper. I want to add a class but it's not producing the HTML. </p>
  
  <pre><code>&lt;%= date_select :recipient, :birthday, :order =&gt; [:day, :month, :year], :start_year =&gt; 1920, :end_year =&gt; 2013, :class =&gt; "input-mini" %&gt;
  </code></pre>
  
  <p>I've also tried it with a hash as some solutions suggest but I get a syntax error: </p>
  
  <pre><code>&lt;%= date_select :recipient, :birthday, :order =&gt; [:day, :month, :year], :start_year =&gt; 1920, :end_year =&gt; 2013, {:class =&gt; "input-mini"} %&gt;
  </code></pre>
  
  <p>Not sure I really understand when and how to format it with a hash. </p>