appacademy-solutions/PollsApp — pull request #3 by fenmarel (2014-02-17 02:30:57+00:00)
Title: cleaned up the mess that was the results method

Also, it was incorrect. I suspect '.where("questions.poll_id = ?", self.id)' had something to do with it... question.poll_id = (this)question.id? Corrected to use the 'Solution to N + 1 queries problem' pattern from Rails Guides.