diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-08-24 15:12:52 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-08-24 15:13:19 -0700 |
commit | 07da5aebb165f824d540fac620d2374b7a3799bb (patch) | |
tree | 562ad8d08cf75209f486472631593e4783910664 /activesupport/test/share_lock_test.rb | |
parent | ef8315ac784aa778b71c803a8aa018676880b396 (diff) | |
download | rails-07da5aebb165f824d540fac620d2374b7a3799bb.tar.gz rails-07da5aebb165f824d540fac620d2374b7a3799bb.tar.bz2 rails-07da5aebb165f824d540fac620d2374b7a3799bb.zip |
Simplify cache hit logging
CacheHelper is mixed in to Helpers, Helpers is mixed in to AV::Base.
This means we can count on instances of AV::Base to have the "cache hit"
method on them, and we can stop setting an ivar for cache logging and
just ask the view if it was a cache hit.
Diffstat (limited to 'activesupport/test/share_lock_test.rb')
0 files changed, 0 insertions, 0 deletions