diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-21 11:33:23 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-21 16:18:46 -0700 |
commit | 60736fec5397c331cc8791b884f3579ef29f4f09 (patch) | |
tree | 002fc8fbc28ad3e7693942e480e02a1f93815ae3 /activesupport/lib | |
parent | 0a12a5f8169685915cbb7bf4d0a7bb482f7f2fd2 (diff) | |
download | rails-60736fec5397c331cc8791b884f3579ef29f4f09.tar.gz rails-60736fec5397c331cc8791b884f3579ef29f4f09.tar.bz2 rails-60736fec5397c331cc8791b884f3579ef29f4f09.zip |
push the autoloads up to requires
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/notifications.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb index 13f675c654..9293cc05d2 100644 --- a/activesupport/lib/active_support/notifications.rb +++ b/activesupport/lib/active_support/notifications.rb @@ -1,3 +1,7 @@ +require 'active_support/notifications/instrumenter' +require 'active_support/notifications/instrumenter' +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 |