class ActiveRecord::Associations::Preloader::Association

def reflection_scope

def reflection_scope
  @reflection_scope ||= reflection.join_scopes(klass.arel_table, klass.predicate_builder, klass).inject(klass.unscoped, &:merge!)
end