Sha256: 9a3c14565c81ed637927c6a81ddaf159e75b78802c4ea51d87895aca89d13ddf
Contents?: true
Size: 334 Bytes
Versions: 20
Compression:
Stored size: 334 Bytes
Contents
module ActiveRecord module Associations class Preloader class BelongsTo < SingularAssociation #:nodoc: def association_key_name reflection.options[:primary_key] || klass && klass.primary_key end def owner_key_name reflection.foreign_key end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems