app/services/rdf_sync_service.rb
# yields batches of candidates for synchronization
yields batches of candidates for synchronization
yields batches of candidates for synchronization
def gather_candidates 
    Iqvoc::Sync.syncable_classes.each do |klass|
      self.class.candidates(klass).find_in_batches(batch_size: @batch_size) do |records|
        yield records
      end
    end
  end
def gather_candidates Iqvoc :: Sync . syncable_classes . each do | klass | self . class . candidates ( klass ) . find_in_batches ( batch_size : @batch_size ) do | records | yield records end end end
yields batches of candidates for synchronization
yields batches of candidates for synchronization
# TODO: rename