You could use `document_sources.pluck(:row_number)` here.