Add __FILE__ and __LINE__ to eval

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Nicholas Seckar 2005-10-15 22:56:36 +00:00
parent b7801ff71e
commit 9369137676

@ -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