discourse/discourse — pull request #332 by goshakkk (2013-03-02 08:59:46+00:00)
Title: Refactor Category

* association with topic of definition should be "has_one"
* move callback bodies to separate methods (easier to test)
* simplify creation of category description topic