aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/bigdecimal_test.rb
diff options
context:
space:
mode:
authorMichael Grosser <michael@grosser.it>2015-11-05 17:35:50 -0800
committerMichael Grosser <michael@grosser.it>2015-11-06 08:27:33 -0800
commit2c42404330a3e7a1648a01e072035c2bee9cc118 (patch)
tree74b32b9e52a814b55813cfb46f50e327bdfb96aa /activesupport/test/core_ext/bigdecimal_test.rb
parentcb67c819338d75c07a591dc23759747c740a5088 (diff)
downloadrails-2c42404330a3e7a1648a01e072035c2bee9cc118.tar.gz
rails-2c42404330a3e7a1648a01e072035c2bee9cc118.tar.bz2
rails-2c42404330a3e7a1648a01e072035c2bee9cc118.zip
call local_cache 1 time instead of 3 times
LocalCache read_entry previously called the local_cache method 3 times, now it only calls it once and keeps the result in a local variable.
Diffstat (limited to 'activesupport/test/core_ext/bigdecimal_test.rb')
0 files changed, 0 insertions, 0 deletions