enspiral/loomio — pull request #447 by jonlemmon (2013-01-12 12:35:29+00:00)
Title: Bug/subgroup proposals

Fixed [this bug](https://trello.com/c/7pcpbxQN). Refactored queries from the `Discussion` model into a new `DiscussionsQuery` class using the [Extract Method](https://gist.github.com/4346010) pattern.

There's still a few more queries which need to eventually make their way into that class.