rb indexer fix - separate method "index_record"