I am doing it for a death date and I need it for the year month and day.
Code:
<div class="field">
    <%= f.label :death_date %><br />
    <%= f.date_select :death_date,
    	              :start_year => 1800,
    	              :end_year => (Time.now.year+2) %>
  </div>