Defect #963 » project.rb_1312.diff
app/models/project.rb (working copy) | ||
---|---|---|
33 | 33 |
has_many :documents, :dependent => :destroy |
34 | 34 |
has_many :news, :dependent => :delete_all, :include => :author |
35 | 35 |
has_many :issue_categories, :dependent => :delete_all, :order => "#{IssueCategory.table_name}.name" |
36 |
has_many :boards, :order => "position ASC" |
|
36 |
has_many :boards, :dependent => :destroy, :order => "position ASC"
|
|
37 | 37 |
has_one :repository, :dependent => :destroy |
38 | 38 |
has_many :changesets, :through => :repository |
39 | 39 |
has_one :wiki, :dependent => :destroy |