Sha256: 02210e542d4e005017807521df57e14a6b2bf9593ee8a3bd2eb191eb03b65869
Contents?: true
Size: 340 Bytes
Versions: 16
Compression:
Stored size: 340 Bytes
Contents
module ActiveRecord class AssociationRelation < Relation def initialize(klass, table, association) super(klass, table) @association = association end def proxy_association @association end private def exec_queries super.each { |r| @association.set_inverse_instance r } end end end
Version data entries
16 entries across 16 versions & 1 rubygems