diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2005-10-15 22:56:36 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2005-10-15 22:56:36 +0000 |
commit | 9369137676a482b2419028d00ec8255273ca8a00 (patch) | |
tree | c3f6961ef24089ea058c77813d2a2999b5ada071 /activerecord/lib/active_record/associations/association_proxy.rb | |
parent | b7801ff71e80e3d8fb06f93b7cbb6d6916657114 (diff) | |
download | rails-9369137676a482b2419028d00ec8255273ca8a00.tar.gz rails-9369137676a482b2419028d00ec8255273ca8a00.tar.bz2 rails-9369137676a482b2419028d00ec8255273ca8a00.zip |
Add __FILE__ and __LINE__ to eval
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/associations/association_proxy.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/association_proxy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |