discourse/discourse — pull request #132 by xdite (2013-02-12 06:24:18+00:00)
Title: Refactor last seen

* remove SQL
* use update_column instead SQL ( avoid transaction and callbacks)
* extract condition to method
* use increment_counter instead SQL