This project is archived and is in readonly mode.
date select within fields for and index = nil
-
Josh
Sorry, the formatting didn't work before
fields_for "user", :index => nil do |ff|
ff.date_select :dob
end
renders as:
select id="user_dob_1i" name="user[dob(1i)]"
instead of:
select id="user__dob_1i" name="user[][dob(1i)]"
like it does with other form tags.
The is from Rails 2.2.2
I'm also submitting a patch that fixes date_select with an index within fields_for
-
Josh
Here is the patch I submitted for the date_select with an index within fields_for bug:
-
Pratik
- State changed from new to duplicate