there's an archived scope for this i think: 
self.repositories.non_archived