diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-02 22:25:51 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-02 22:27:03 +0100 |
commit | 4c5b5024c36cfc6dabfdfed656d04d3c4e032e44 (patch) | |
tree | 2c6ffe14692b204c49ba79dc8f62a2e3ead26f1b /railties/lib | |
parent | 08986ce2902e94a195ea8661ec1a5a302e3d41f4 (diff) | |
download | rails-4c5b5024c36cfc6dabfdfed656d04d3c4e032e44.tar.gz rails-4c5b5024c36cfc6dabfdfed656d04d3c4e032e44.tar.bz2 rails-4c5b5024c36cfc6dabfdfed656d04d3c4e032e44.zip |
Rails notifications are set through Railtie in each framework.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 457eef648c..26ffbe5a58 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -269,18 +269,5 @@ module Rails ActiveSupport::Dependencies.unhook! end end - - # For each framework, search for instrument file with Notifications hooks. - # - initializer :load_notifications_hooks do - frameworks = [ :active_record, :action_controller, :action_view, - :action_mailer, :active_resource ] - frameworks.each do |framework| - begin - require "#{framework}/notifications" - rescue LoadError => e - end - end - end end end |