Date_select parameter

Trying to add start year to date_select

<%= date_select(:start_year => 1980)%>

It’s throwing an exception "wrong number of arguments (1 for 0)
Can’t I add a start_year, API shows this option ?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs