From 67e900c0f48a0582f7aaf37746ea885b38ded471 Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Sun, 16 Oct 2005 01:20:43 +0000 Subject: [PATCH] Fix bad commit. (Bad developer, bad\!) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../lib/active_record/associations/association_proxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/associations/association_proxy.rb b/activerecord/lib/active_record/associations/association_proxy.rb index 1f08ef599e..c8d72c9f25 100644 --- a/activerecord/lib/active_record/associations/association_proxy.rb +++ b/activerecord/lib/active_record/associations/association_proxy.rb @@ -8,7 +8,7 @@ module ActiveRecord @owner = owner @options = options @association_name = association_name - @association_class = eval(association_class_name, __FILE__, __LINE__) + @association_class = eval(association_class_name, nil, __FILE__, __LINE__) @association_class_primary_key_name = association_class_primary_key_name reset