Permalink
Browse files

Add __FILE__ and __LINE__ to eval

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent b7801ff commit 9369137676a482b2419028d00ec8255273ca8a00 @seckar seckar committed Oct 15, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations/association_proxy.rb
@@ -8,7 +8,7 @@ def initialize(owner, association_name, association_class_name, association_clas
@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

0 comments on commit 9369137

Please sign in to comment.