Sha256: e4c77f833dce2174b950dc134914361688cce887806124ea1e808e35cd534c1d

Contents?: true

Size: 310 Bytes

Versions: 353

Compression:

Stored size: 310 Bytes

Contents

module ActiveRecord
  module Associations
    class Preloader
      class HasMany < CollectionAssociation #:nodoc:

        def association_key_name
          reflection.foreign_key
        end

        def owner_key_name
          reflection.active_record_primary_key
        end

      end
    end
  end
end

Version data entries

353 entries across 317 versions & 24 rubygems

Version Path
activerecord-4.2.11.3 lib/active_record/associations/preloader/has_many.rb
activerecord-4.2.11.2 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.7.2 lib/active_record/associations/preloader/has_many.rb
activerecord-4.2.11.1 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.7.1 lib/active_record/associations/preloader/has_many.rb
activerecord-4.2.11 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.7 lib/active_record/associations/preloader/has_many.rb
activerecord-4.2.10 lib/active_record/associations/preloader/has_many.rb
activerecord-4.2.10.rc1 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.6 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.6.rc1 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.5 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.5.rc2 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.5.rc1 lib/active_record/associations/preloader/has_many.rb
activerecord-4.2.9 lib/active_record/associations/preloader/has_many.rb
activerecord-4.2.9.rc2 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.4 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.4.rc1 lib/active_record/associations/preloader/has_many.rb
activerecord-4.2.9.rc1 lib/active_record/associations/preloader/has_many.rb
activerecord-5.0.3 lib/active_record/associations/preloader/has_many.rb