Hi Folks,
I’m having such a weird problem with the DateHelper. Here is how I’m
using it, from the view:
Birth date
<%= x.date_select(:birth_date, :start_year => 1900) %>
x is the variable that is being yield from a fields_for.
There are more fields in the same form, and they work just perfect.
When I try to submit the form, I get a
ActiveRecord::MultiparameterAssignmentErrors in UsersController#edit
And here is the page source I got in the browser:
Birth date
If you look carefully, you’re going to see that the select tag for
month is with a very wierd name, wich is:
And the year and date fields are just ok!
Any tips?
Cheers!
–
Adriano M. Marques
http://adriano-marques.blogspot.com
http://umit.sourceforge.net
[email protected]
“Don’t stay in bed, unless you can make money in bed.” - George Burns