diff options
Diffstat (limited to 'activerecord/lib/active_record/association_relation.rb')
-rw-r--r-- | activerecord/lib/active_record/association_relation.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/association_relation.rb b/activerecord/lib/active_record/association_relation.rb index e2976577f6..20516bba0c 100644 --- a/activerecord/lib/active_record/association_relation.rb +++ b/activerecord/lib/active_record/association_relation.rb @@ -5,6 +5,10 @@ module ActiveRecord @association = association end + def proxy_association + @association + end + private def exec_queries |