I have a date_select in my view inside a form, however on submit the value returned is in a hash form like so:
{\"(1i)\"=>\"2010\", \"(2i)\"=>\"8\", \"
Date.new(*params["due_date"].values.map(&:to_i))
Note: Works in ruby 1.9.2+ since it depends on the order of the hash elements.
Two goodies here: