In Rails 3.x I have a model class with an int field "my_int_date". I would like the int field to be populated by a form which as a date_select form element.
The problem is when the form reads a date_select value it sends it back as a multi-parameter value which results in the error
1 error(s) on assignment of multiparameter attributes
Is there anyway I can keep it stored as a Date in my model but convert it to an int when it is dumped to the DB?