Sha256: 843118e9abe60fc1d7d4a57df60eda4143c21ed8d6b64501b07722be334d53a1
Contents?: true
Size: 421 Bytes
Versions: 55
Compression:
Stored size: 421 Bytes
Contents
module ActiveRecord module Associations class Preloader class HasManyThrough < CollectionAssociation #:nodoc: include ThroughAssociation def associated_records_by_owner(preloader) records_by_owner = super if reflection_scope.distinct_value records_by_owner.each_value(&:uniq!) end records_by_owner end end end end end
Version data entries
55 entries across 55 versions & 4 rubygems