blob: e2976577f6b1d9e39d5a4a98ffd16e239d18ee58 (
plain) (
tree)
|
|
module ActiveRecord
class AssociationRelation < Relation
def initialize(klass, table, association)
super(klass, table)
@association = association
end
private
def exec_queries
super.each { |r| @association.set_inverse_instance r }
end
end
end
|