discourse/discourse — pull request #1571 by novemberkilo (2013-10-23 21:32:07+00:00)
Title: Refactor User#update_last_seen! and User#update_tracked_topics

Improves the score of the `User` class by refactoring two of its most complex methods (per code climate).

Refactors `User#update_last_seen!` and `User#update_tracked_topics`

(This PR was written while wearing a Discourse t-shirt - thanks @samsaffron :smile:)