diff options
Diffstat (limited to 'activerecord')
-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 |