Skip to content

Commit

Permalink
remove_duplicate_results! should be protected
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Singh committed Apr 10, 2013
1 parent 8c88385 commit eb750e2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -58,6 +58,8 @@ def instantiate(rows)
records
end

protected

def remove_duplicate_results!(base, records, associations)
case associations
when Symbol, String
Expand Down Expand Up @@ -88,8 +90,6 @@ def remove_duplicate_results!(base, records, associations)
end
end

protected

def cache_joined_association(association)
associations = []
parent = association.parent
Expand Down

0 comments on commit eb750e2

Please sign in to comment.