Sha256: 5ae5bddf8bdf53a97d8afd17b7258f64394adfaa5c19111b9df883a71fec818f
Contents?: true
Size: 429 Bytes
Versions: 29
Compression:
Stored size: 429 Bytes
Contents
module ActiveRecord module Associations class Preloader class HasManyThrough < CollectionAssociation #:nodoc: include ThroughAssociation def associated_records_by_owner records_by_owner = super if reflection_scope.distinct_value records_by_owner.each_value { |records| records.uniq! } end records_by_owner end end end end end
Version data entries
29 entries across 29 versions & 2 rubygems