mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
aebba01f43
This method doesn't need to be lazy, as it is never called from reads. The only time it is called are in write cases, where we're about to loop through the results of it, and build the attribute objects anyway. So we don't gain anything by dodging the instantiation here. This is the only method that coupled `AttributeSet` to `LazyAttributeHash`, so removing it puts us back in a place where we can use a normal hash instead. |
||
---|---|---|
.. | ||
active_record | ||
rails/generators | ||
active_record.rb |