aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/notifications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/notifications.rb')
-rw-r--r--activerecord/lib/active_record/notifications.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/notifications.rb b/activerecord/lib/active_record/notifications.rb
deleted file mode 100644
index 562a5b91f4..0000000000
--- a/activerecord/lib/active_record/notifications.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-require 'active_support/notifications'
-
-ActiveSupport::Notifications.subscribe("sql") do |name, before, after, result, instrumenter_id, payload|
- ActiveRecord::Base.connection.log_info(payload[:sql], name, after - before)
-end