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
dirty_history-0.5.4 dirty_history/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/associations/preloader/has_many.rb
activerecord-3.2.5 lib/active_record/associations/preloader/has_many.rb
activerecord-3.2.4 lib/active_record/associations/preloader/has_many.rb
activerecord-3.1.5 lib/active_record/associations/preloader/has_many.rb
activerecord-3.2.4.rc1 lib/active_record/associations/preloader/has_many.rb
activerecord-3.1.5.rc1 lib/active_record/associations/preloader/has_many.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/associations/preloader/has_many.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/associations/preloader/has_many.rb
rails-uploader-0.0.1 vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/associations/preloader/has_many.rb
challah-0.6.0 vendor/bundle/gems/activerecord-3.2.3/lib/active_record/associations/preloader/has_many.rb
challah-0.6.0 vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_many.rb
challah-0.6.0 vendor/bundle/gems/activerecord-3.2.2/lib/active_record/associations/preloader/has_many.rb
challah-0.5.4 vendor/bundle/gems/activerecord-3.2.2/lib/active_record/associations/preloader/has_many.rb
challah-0.5.4 vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_many.rb
activerecord-3.2.3 lib/active_record/associations/preloader/has_many.rb
activerecord-3.2.3.rc2 lib/active_record/associations/preloader/has_many.rb
activerecord-3.2.3.rc1 lib/active_record/associations/preloader/has_many.rb
challah-0.5.3 vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_many.rb
challah-0.5.3 vendor/bundle/gems/activerecord-3.2.2/lib/active_record/associations/preloader/has_many.rb
challah-0.5.2 vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_many.rb