mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
18ae0656f5
Calling `changed_attributes` will ultimately check if every mutable attribute has changed in place. Since this gets called whenever an attribute is assigned, it's extremely slow. Instead, we can avoid this calculation until we actually need it. Fixes #18029 |
||
---|---|---|
.. | ||
active_model | ||
active_model.rb |