Sha256: a3fb3e6e21ffb8b4eec166862d7d882b9fc7d7c3a3ed30a8e8a70b24317674c6
Contents?: true
Size: 479 Bytes
Versions: 9
Compression:
Stored size: 479 Bytes
Contents
module Speedup module Collectors class PartialsCollector < Collector def setup_subscribes register('render_partial.action_view') register('render_collection.action_view') end # def filter_event?(evt) # super || evt.payload[:name] =~ /schema/i # end def event_to_data(evt) data = super data[:identifier] = data[:identifier].gsub(Rails.root.to_s + '/', '') data end end end end
Version data entries
9 entries across 9 versions & 1 rubygems