aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Agrawal <arun@fromjaipur.com>2011-08-16 01:36:21 +0530
committerArun Agrawal <arun@fromjaipur.com>2011-08-16 01:36:21 +0530
commit83eec4ca4c8312e27678c15f87ba2e17532f7f07 (patch)
treef246c84d919781a6074cc002983e9c1f29cd2e39
parentb2469283a77133fc36382281eca7ea8d4d56c7ed (diff)
downloadrails-83eec4ca4c8312e27678c15f87ba2e17532f7f07.tar.gz
rails-83eec4ca4c8312e27678c15f87ba2e17532f7f07.tar.bz2
rails-83eec4ca4c8312e27678c15f87ba2e17532f7f07.zip
Requiring delegate.
-rw-r--r--activesupport/test/notifications_test.rb1
-rw-r--r--railties/lib/rails/railtie.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/test/notifications_test.rb b/activesupport/test/notifications_test.rb
index cc0dc564f7..884ee61547 100644
--- a/activesupport/test/notifications_test.rb
+++ b/activesupport/test/notifications_test.rb
@@ -1,4 +1,5 @@
require 'abstract_unit'
+require 'active_support/core_ext/module/delegation'
module Notifications
class TestCase < ActiveSupport::TestCase
diff --git a/railties/lib/rails/railtie.rb b/railties/lib/rails/railtie.rb
index 8c88b25617..e8fb1f3d98 100644
--- a/railties/lib/rails/railtie.rb
+++ b/railties/lib/rails/railtie.rb
@@ -2,6 +2,7 @@ require 'rails/initializable'
require 'rails/configuration'
require 'active_support/inflector'
require 'active_support/core_ext/module/introspection'
+require 'active_support/core_ext/module/delegation'
module Rails
# Railtie is the core of the Rails framework and provides several hooks to extend