This project is archived and is in readonly mode.
form_for builder not passed to fields_for in nested forms
-
Nate Wiger
- Tag set to 2.3, edge, fields_for, form_for, form_helper, patch
Ok, easiest patch ever. Against trunk.
-
Eloy Duran
- Assigned user set to Eloy Duran
-
Eloy Duran
Please also add test coverage, for the case that args.last[:builder] was nil and was already set. Also, does this already work this way with the regular fields_for?
-
Michael Koziarski
- Milestone cleared.
-
Eloy Duran
Fixed.
Note: In the doc part of the patch I thought only the top part of the file's documentation was over 80 columns wide, so I changed it to max. 80 cols. Then I realized that the rest of the file had the same problem. I'll have a talk with Pratik about standardizing this.
-
Eloy Duran
- Assigned user changed from Eloy Duran to Michael Koziarski
-
Repository
(from [3d1d422b8be027417cb640416d154171e75f03d1]) Pass a custom form builder on to nested fields_for calls. [#2023 form_for builder not passed to fields_for in nested forms status:committed]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
-
DHH
- State changed from new to committed
