mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-05 10:45:47 +00:00
Code quality
This commit is contained in:
parent
4115e6383b
commit
ccb9ec052e
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ module GrapeLogging
|
|||
@subscription = ActiveSupport::Notifications.subscribe('sql.active_record') do |*args|
|
||||
event = ActiveSupport::Notifications::Event.new(*args)
|
||||
@duration += event.duration
|
||||
end
|
||||
end if defined?(ActiveRecord)
|
||||
end
|
||||
|
||||
def after
|
||||
|
|
|
|||
Loading…
Reference in a new issue