From 9369137676a482b2419028d00ec8255273ca8a00 Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Sat, 15 Oct 2005 22:56:36 +0000 Subject: Add __FILE__ and __LINE__ to eval git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/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 ed34b1df6c..1f08ef599e 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) + @association_class = eval(association_class_name, __FILE__, __LINE__) @association_class_primary_key_name = association_class_primary_key_name reset -- cgit v1.2.3