discourse/discourse — pull request #928 by jd-erreape (2013-05-30 19:45:22+00:00)
Title: Refactored some class methods to scopes in order to achieve a better 'Rails way'

Topic had two class methods called created_since and visible, I've refactored those into scopes and also added some tests for them.