umamao/umamao — pull request #305 by abgrilo (2011-10-11 16:58:24+00:00)
Title: Make question's answers destruction after its own

:dependent was causing that Answers' destruction was occurring after the question's one, and answer's before_destroy hooks were accessing the answer's question.

So the :dependent was removed and a before_destroy hook to delete answers was added to Question.