diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/dev-utils/eval_debugger.rb | 14 | ||||
-rw-r--r-- | activerecord/test/aggregations_test.rb | 1 | ||||
-rwxr-xr-x | activerecord/test/associations_test.rb | 1 | ||||
-rwxr-xr-x | activerecord/test/deprecated_associations_test.rb | 1 | ||||
-rwxr-xr-x | activerecord/test/lifecycle_test.rb | 1 | ||||
-rw-r--r-- | activerecord/test/modules_test.rb | 1 | ||||
-rw-r--r-- | activerecord/test/reflection_test.rb | 1 |
7 files changed, 0 insertions, 20 deletions
diff --git a/activerecord/dev-utils/eval_debugger.rb b/activerecord/dev-utils/eval_debugger.rb deleted file mode 100644 index 014c520ca8..0000000000 --- a/activerecord/dev-utils/eval_debugger.rb +++ /dev/null @@ -1,14 +0,0 @@ -# Require this file to see the methods Active Record generates as they are added. -class Module #:nodoc: - alias :old_module_eval :module_eval - def module_eval(*args, &block) - if args[0] - puts "----" - print "module_eval in #{self.name}" - print ": file #{args[1]}" if args[1] - print " on line #{args[2]}" if args[2] - puts "\n#{args[0]}" - end - old_module_eval(*args, &block) - end -end diff --git a/activerecord/test/aggregations_test.rb b/activerecord/test/aggregations_test.rb index 2eff36dc73..99b7b72684 100644 --- a/activerecord/test/aggregations_test.rb +++ b/activerecord/test/aggregations_test.rb @@ -1,5 +1,4 @@ require 'abstract_unit' -# require File.dirname(__FILE__) + '/../dev-utils/eval_debugger' require 'fixtures/customer' class AggregationsTest < Test::Unit::TestCase diff --git a/activerecord/test/associations_test.rb b/activerecord/test/associations_test.rb index 63d06de4dd..4a2779227d 100755 --- a/activerecord/test/associations_test.rb +++ b/activerecord/test/associations_test.rb @@ -1,7 +1,6 @@ require 'abstract_unit' require 'fixtures/developer' require 'fixtures/project' -# require File.dirname(__FILE__) + '/../dev-utils/eval_debugger' require 'fixtures/company' require 'fixtures/topic' require 'fixtures/reply' diff --git a/activerecord/test/deprecated_associations_test.rb b/activerecord/test/deprecated_associations_test.rb index ed1b9be615..49387ec8dc 100755 --- a/activerecord/test/deprecated_associations_test.rb +++ b/activerecord/test/deprecated_associations_test.rb @@ -3,7 +3,6 @@ require 'fixtures/developer' require 'fixtures/project' require 'fixtures/company' require 'fixtures/topic' -# require File.dirname(__FILE__) + '/../dev-utils/eval_debugger' require 'fixtures/reply' # Can't declare new classes in test case methods, so tests before that diff --git a/activerecord/test/lifecycle_test.rb b/activerecord/test/lifecycle_test.rb index 8b34c8c24c..18159114dd 100755 --- a/activerecord/test/lifecycle_test.rb +++ b/activerecord/test/lifecycle_test.rb @@ -1,4 +1,3 @@ -# require File.dirname(__FILE__) + '/../dev-utils/eval_debugger' require 'abstract_unit' require 'fixtures/topic' require 'fixtures/developer' diff --git a/activerecord/test/modules_test.rb b/activerecord/test/modules_test.rb index f43bb1d077..d9c9ae650c 100644 --- a/activerecord/test/modules_test.rb +++ b/activerecord/test/modules_test.rb @@ -1,5 +1,4 @@ require 'abstract_unit' -# require File.dirname(__FILE__) + '/../dev-utils/eval_debugger' require 'fixtures/company_in_module' class ModulesTest < Test::Unit::TestCase diff --git a/activerecord/test/reflection_test.rb b/activerecord/test/reflection_test.rb index 33e147be77..aa9b721d97 100644 --- a/activerecord/test/reflection_test.rb +++ b/activerecord/test/reflection_test.rb @@ -1,4 +1,3 @@ -#require File.dirname(__FILE__) + '/../dev-utils/eval_debugger' require 'abstract_unit' require 'fixtures/topic' require 'fixtures/customer' |