diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-14 12:02:05 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-14 14:30:40 -0700 |
commit | 895a53e7161e9bdc6285fe03f16b49ec74972416 (patch) | |
tree | 23a23a7e74fabb8c36c185b0d9d1ca178d2a3bed /railties/railties.gemspec | |
parent | 3f63ac4e4dd22a452a37ad7a654cf5e4f4e66349 (diff) | |
download | rails-895a53e7161e9bdc6285fe03f16b49ec74972416.tar.gz rails-895a53e7161e9bdc6285fe03f16b49ec74972416.tar.bz2 rails-895a53e7161e9bdc6285fe03f16b49ec74972416.zip |
Allow `LazyAttributeHash` to be marshalled
`default_proc` makes a hash unmarshallable, and adds unneccessary
overhead. Since we control all access to the hash, let's just handle it
in that method. This has the side effect of improving performance on
initialization (but not neccessarily on access). We'll need to profile
further once the tests are passing.
Diffstat (limited to 'railties/railties.gemspec')
0 files changed, 0 insertions, 0 deletions