Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 9369137676a482b2419028d00ec8255273ca8a00 1 parent b7801ff
@seckar seckar authored
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.