From 6c2d167cd96485cba338059f902411305faa26ad Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Mon, 3 Apr 2006 05:30:43 +0000 Subject: Abort broken tighter resolution suppression. Closes #4431 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/base.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 0828df8d68..72191c60c4 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -1242,8 +1242,6 @@ module ActiveRecord #:nodoc: begin instance_eval(modularized_name) rescue NameError => e - first_module = modularized_name.split("::").first - raise unless e.to_s.include? first_module instance_eval(type_name) end end -- cgit v1.2.3