diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-06 16:20:47 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-06 16:20:47 -0700 |
commit | 07b2ff03d04656faccc68c83541b06e318a36ed7 (patch) | |
tree | cea4cb0efdf1d149846958700458ae31e34d7416 /activesupport/test/core_ext/array | |
parent | 6716ad555a687b1e825fa71ba076e641f4dc097a (diff) | |
download | rails-07b2ff03d04656faccc68c83541b06e318a36ed7.tar.gz rails-07b2ff03d04656faccc68c83541b06e318a36ed7.tar.bz2 rails-07b2ff03d04656faccc68c83541b06e318a36ed7.zip |
use a request object to access info from env in GetIp
again, we want to hide the contents of `env` from the implementation.
Allocate a request object to access the contents of env, but save
allocations due to string literal allocations when accessing the env
hash.
Diffstat (limited to 'activesupport/test/core_ext/array')
0 files changed, 0 insertions, 0 deletions