radar/forem — pull request #424 by yan-hoose (2013-05-20 12:01:55+00:00)
Title: Add :dependent => :destroy to topic subscriptions and views

If you use foreign key constraints in your database then it is not possible to delete a topic, since rows in other tables depend on the topic.

This commit adds :dependent => :destroy to topic subscriptions and views which makes it possible.