Skip to content

Commit a7e5c45

Browse files
MrTheBinoandynu
authored andcommitted
added missing method
1 parent 36433a9 commit a7e5c45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ def dbms_output_enabled?
3131
end
3232

3333
private
34+
def instrumenter # :nodoc:
35+
ActiveSupport::IsolatedExecutionState[:active_record_instrumenter] ||= ActiveSupport::Notifications.instrumenter
36+
end
37+
3438
def log(sql, name = "SQL", binds = [], type_casted_binds = [], statement_name = nil, async: false, &block)
3539
instrumenter.instrument(
3640
"sql.active_record",

0 commit comments

Comments
 (0)