aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Ang <awz.ang@gmail.com>2016-03-14 23:47:03 +0100
committerAaron Ang <awz.ang@gmail.com>2016-03-15 00:54:48 +0100
commit798dc5a92537ba4202a1a8e127a5ebdae87bc78d (patch)
tree7a03740c7bf4e688c9676fe2f95d6f4aa5531950 /activerecord
parent4232f7ee427a510eb07e420f5883611bcb0abfae (diff)
downloadrails-798dc5a92537ba4202a1a8e127a5ebdae87bc78d.tar.gz
rails-798dc5a92537ba4202a1a8e127a5ebdae87bc78d.tar.bz2
rails-798dc5a92537ba4202a1a8e127a5ebdae87bc78d.zip
Remove log-related stuff from ActiveSupport::Dependencies
In this patch, all log-related stuff in `ActiveSupport::Dependencies` is removed because the logging is no longer useful.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/inheritance_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/test/cases/inheritance_test.rb b/activerecord/test/cases/inheritance_test.rb
index 7da6842047..e234b9a6a9 100644
--- a/activerecord/test/cases/inheritance_test.rb
+++ b/activerecord/test/cases/inheritance_test.rb
@@ -441,12 +441,7 @@ class InheritanceComputeTypeTest < ActiveRecord::TestCase
include InheritanceTestHelper
fixtures :companies
- def setup
- ActiveSupport::Dependencies.log_activity = true
- end
-
teardown do
- ActiveSupport::Dependencies.log_activity = false
self.class.const_remove :FirmOnTheFly rescue nil
Firm.const_remove :FirmOnTheFly rescue nil
end