# File lib/new_relic/agent/instrumentation/active_record_subscriber.rb, line 111 def finish if state.current_transaction state.traced_method_stack.push_segment state, @segment end @segment.finish end