Module: NewRelic::Agent::Instrumentation::ActiveRecordPrepend::BaseExtensions516

Defined in:
lib/new_relic/agent/instrumentation/active_record_prepend.rb

Instance Method Summary collapse

Instance Method Details

#touch(*args, **kwargs, &blk) ⇒ Object



50
51
52
53
54
# File 'lib/new_relic/agent/instrumentation/active_record_prepend.rb', line 50

def touch(*args, **kwargs, &blk)
  ::NewRelic::Agent.with_database_metric_name(self.class.name, nil, ACTIVE_RECORD) do
    super
  end
end