aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-04-18 15:37:41 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-04-18 15:37:41 -0400
commit5e2b419779fdb5f0c5566648e2e0fb07429b3540 (patch)
tree63f4912b39ad1c9a11fa65576cfbea5470884bd4
parentb86631d9d9f12d834868ff44735ff551668bfb8a (diff)
downloadrails-5e2b419779fdb5f0c5566648e2e0fb07429b3540.tar.gz
rails-5e2b419779fdb5f0c5566648e2e0fb07429b3540.tar.bz2
rails-5e2b419779fdb5f0c5566648e2e0fb07429b3540.zip
Revert "Merge pull request #28788 from tjschuck/require_as_notifications_in_cache"
This reverts commit b86631d9d9f12d834868ff44735ff551668bfb8a, reversing changes made to 8776a7139757d0b264785c774d4e7f37d4bc1ac7. ActiveSupport::Notifications is loaded using autoload that is defined by the top level file of `active_support`. All the frameworks of Rails requires the top level files before using any of the others files inside the framework because the top level file is what setup the autoload hooks and require the common dependencies.
-rw-r--r--activesupport/lib/active_support/cache.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 94b893c3e4..4d8c2046e8 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -6,7 +6,6 @@ require "active_support/core_ext/numeric/bytes"
require "active_support/core_ext/numeric/time"
require "active_support/core_ext/object/to_param"
require "active_support/core_ext/string/inflections"
-require "active_support/notifications"
module ActiveSupport
# See ActiveSupport::Cache::Store for documentation.