diff options
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/associations/join_dependency.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency.rb b/activerecord/lib/active_record/associations/join_dependency.rb index d3ceecb090..93b088790e 100644 --- a/activerecord/lib/active_record/associations/join_dependency.rb +++ b/activerecord/lib/active_record/associations/join_dependency.rb @@ -58,6 +58,8 @@ module ActiveRecord records end + protected + def remove_duplicate_results!(base, records, associations) case associations when Symbol, String @@ -88,8 +90,6 @@ module ActiveRecord end end - protected - def cache_joined_association(association) associations = [] parent = association.parent |