diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2006-04-03 05:30:43 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2006-04-03 05:30:43 +0000 |
commit | 6c2d167cd96485cba338059f902411305faa26ad (patch) | |
tree | fea1e11bb371f25ea53287b91700f9d18f1892db /activerecord/lib/active_record | |
parent | d0e8d5430ac0001aec925934613944ef9ecab850 (diff) | |
download | rails-6c2d167cd96485cba338059f902411305faa26ad.tar.gz rails-6c2d167cd96485cba338059f902411305faa26ad.tar.bz2 rails-6c2d167cd96485cba338059f902411305faa26ad.zip |
Abort broken tighter resolution suppression. Closes #4431
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |