3b34cb9e39
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 |
||
---|---|---|
.. | ||
actionpack | ||
activerecord | ||
fixtures | ||
lib | ||
template | ||
ujs | ||
abstract_unit.rb | ||
active_record_unit.rb |