justinfrench/formtastic — Issue #755: discard_* options don't generate hidden form inputs
Author: mguterl
Created: 2011-12-14 20:59:44+00:00
State: open

<%= f.input :some_date, :order => [:month, :year], :discard_day => true %>

This currently only generates the 2i and 1i select boxes and does not create a hidden input for 3i as Rails expects, which causes a `ActiveRecord::MultiparameterAssignmentErrors`

It looks like this was only partially implemented here:

https://github.com/justinfrench/formtastic/blob/master/lib/formtastic/inputs/base/timeish.rb#L218