• J
    Revert "Key the attributes hash with symbols" · 9e5f7cc6
    Jon Leighton 提交于
    This reverts commit 86c3dfbd.
    
    Conflicts:
    	activerecord/lib/active_record/attribute_methods/read.rb
    
    Reason: whilst this increased performance, it also presents a DoS risk
    via memory exhaustion if users were allowing user input to dictate the
    arguments of read/write_attribute. I will investigate alternative ways
    to cut down on string allocations here.
    9e5f7cc6
time_zone_conversion.rb 2.6 KB