Sha256: 25a99c3fb992bf3f1f4e26bd67964cc620a9bbf226ae1c60efc754fd710561ab
Contents?: true
Size: 412 Bytes
Versions: 10
Compression:
Stored size: 412 Bytes
Contents
module Sequel module Extensions module SequelInstrumentation def log_connection_yield(sql, conn, args = nil) ActiveSupport::Notifications.instrument "sql.sequel", sql: sql, conn: conn, binds: args do super end end end end Database.register_extension(:sequel_instrumentation, Extensions::SequelInstrumentation) Database.extension(:sequel_instrumentation) end
Version data entries
10 entries across 10 versions & 1 rubygems