[ActiveModel] Improve the performance of mass assignments
#29447

shotat wants to merge shotat:feature/enhance_active_model into rails:master

We do not currently have an analysis of these two commits