# File src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_support_cache_subscriber.rb, line 27 def cache_read(event) reporter = Thread.current[:union_station_hooks] return if !reporter UnionStationHooks.call_event_pre_hook(event) if event.payload[:hit] reporter.log_cache_hit(event.payload[:key]) else reporter.log_cache_miss(event.payload[:key]) end end