I’m having such a weird problem with the DateHelper. Here is how I’m
using it, from the view:
<%= 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:
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!
Adriano M. Marques
“Don’t stay in bed, unless you can make money in bed.” - George Burns