Browse files

push the autoloads up to requires

  • Loading branch information...
1 parent 0a12a5f commit 60736fec5397c331cc8791b884f3579ef29f4f09 @tenderlove tenderlove committed Mar 21, 2012
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 Mar 21, 2012

Duplicate require's?

@tenderlove
Ruby on Rails member

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

0 comments on commit 60736fe

Please sign in to comment.