File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
activerecord/lib/active_record Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -283,13 +283,11 @@ class TooManyRecords < ActiveRecordError
283
283
#
284
284
# === Creating forms with nested attributes
285
285
#
286
- # Use ActionView::Helpers::FormHelper#fields_for to create form elements
287
- # for updating or destroying nested attributes.
286
+ # Use ActionView::Helpers::FormHelper#fields_for to create form elements for
287
+ # nested attributes.
288
288
#
289
- # === Testing
290
- #
291
- # If you are using ActionView::Helpers::FormHelper#fields_for, your integration
292
- # tests should replicate the HTML structure it provides. For example;
289
+ # Integration test params should reflect the structure of the form. For
290
+ # example:
293
291
#
294
292
# post members_path, params: {
295
293
# member: {
You can’t perform that action at this time.
0 commit comments