Currently im using date_select to select a day and month of the year.
But i’m hiding the year since it is not important. But when i try to
save to the database the controller complains that the year is
missing. Can i set the year to for example Time.now.year in the model?
date_select(“timesheet”, “date”, :discard_year =>
true, :use_short_month => true)