Using select_date gives me back a params[:my_date] with year, month and day attributes. How do get a Date ob
select_date
params[:my_date]
year
month
day
Here is another one:
# view <%= date_select('event', 'date') %> # controller date = Date.civil(*params[:event].sort.map(&:last).map(&:to_i))
Found at http://kevinlochner.com/use-rails-dateselect-without-an-activerecord