Small refactoring in article_repository.rb for clarity