Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

push the autoloads up to requires

  • Loading branch information...
commit 60736fec5397c331cc8791b884f3579ef29f4f09 1 parent 0a12a5f
@tenderlove tenderlove authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 activesupport/lib/active_support/notifications.rb
View
8 activesupport/lib/active_support/notifications.rb
@@ -1,3 +1,7 @@
+require 'active_support/notifications/instrumenter'
+require 'active_support/notifications/instrumenter'
@atambo
atambo added a note

Duplicate require's?

@tenderlove Owner

oops!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+require 'active_support/notifications/fanout'
+
module ActiveSupport
# = Notifications
#
@@ -105,10 +109,6 @@ module ActiveSupport
# to log subscribers in a thread. You can use any queue implementation you want.
#
module Notifications
- autoload :Instrumenter, 'active_support/notifications/instrumenter'
- autoload :Event, 'active_support/notifications/instrumenter'
- autoload :Fanout, 'active_support/notifications/fanout'
-
@instrumenters = Hash.new { |h,k| h[k] = notifier.listening?(k) }
class << self
Please sign in to comment.
Something went wrong with that request. Please try again.