Modified: trunk/app/models/user.rb (2308 => 2309)
--- trunk/app/models/user.rb 2009-11-27 23:55:22 UTC (rev 2308)
+++ trunk/app/models/user.rb 2009-11-28 00:37:01 UTC (rev 2309)
@@ -272,10 +272,10 @@
acts_as_contributor
- has_many :blobs, :as => :contributor
- has_many :blogs, :as => :contributor
- has_many :workflows, :as => :contributor
- has_many :packs, :as => :contributor
+ has_many :blobs, :as => :contributor, :dependent => :destroy
+ has_many :blogs, :as => :contributor, :dependent => :destroy
+ has_many :workflows, :as => :contributor, :dependent => :destroy
+ has_many :packs, :as => :contributor, :dependent => :destroy
acts_as_creditor