aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attributes.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-01-31 17:28:04 -0700
committerSean Griffin <sean@thoughtbot.com>2015-01-31 17:29:35 -0700
commitaebba01f437d864baf7165f19737440002016413 (patch)
tree7581aed29a35c9fb5bed4ae8685d4b7586de8bda /activerecord/lib/active_record/attributes.rb
parent6b4a5952d3952ffc98173626e8d76e73e6140e3a (diff)
downloadrails-aebba01f437d864baf7165f19737440002016413.tar.gz
rails-aebba01f437d864baf7165f19737440002016413.tar.bz2
rails-aebba01f437d864baf7165f19737440002016413.zip
Remove `AttributeSet#initialized_keys`
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.
Diffstat (limited to 'activerecord/lib/active_record/attributes.rb')
0 files changed, 0 insertions, 0 deletions