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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user