5 6 7 8 9 10 11
# File 'lib/bullet/active_job.rb', line 5 def self.included(base) base.class_eval do around_perform do |_job, block| Bullet.profile { block.call } end end end