[#4690] Clear the issue/deliverable relation when deleting deliverables

This commit is contained in:
Eric Davis committed 2010-10-27 14:29:50 -07:00
1 parent 6f1ce637c5
commit 726c7a206f
2 files changed
+24 -1

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ class Deliverable < ActiveRecord::Base
has_many :labor_budgets
has_many :overhead_budgets
has_many :fixed_budgets
has_many :issues
has_many :issues, :dependent => :nullify
accepts_nested_attributes_for :labor_budgets
accepts_nested_attributes_for :overhead_budgets