[#4690] Clear the issue/deliverable relation when deleting deliverables
This commit is contained in:
1 parent
6f1ce637c5
commit
726c7a206f
2 files changed
+24
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user