rails/actionview/lib
Sean Doyle 3b34cb9e39 Resolve bug in nested FormBuilder#field_id
As a follow-up to [#40127][], this commit adds a bug fix for nested form
builders (through either `fields_for` or `fields`) incorrectly
constructing a field's `[id]` attribute. To do so, treat the
`@object_name` with higher precedence than the `@object`, since that
will be provided as instance state during construction.

[#40127]: https://github.com/rails/rails/pull/40127
2021-07-13 18:16:36 -04:00
..
action_view Resolve bug in nested FormBuilder#field_id 2021-07-13 18:16:36 -04:00
action_view.rb Encapsulate "details" into TemplateDetails 2021-05-11 18:48:24 -07:00