Call build when extend with nested attributes defined
#33454

azbshiri wants to merge azbshiri:extend-affects-nested-attributes into rails:master

We do not currently have an analysis of these two commits