Commit 63e61ac3a37553e6edd940132b0c193ec86e9aed
1 parent
8125d3ff
Exists in
master
and in
29 other branches
[postgres-tests] Removing unnecessary dependent => destroy from article_categorization
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/article.rb
... | ... | @@ -57,7 +57,7 @@ class Article < ActiveRecord::Base |
57 | 57 | has_many :article_categorizations, :conditions => [ 'articles_categories.virtual = ?', false ] |
58 | 58 | has_many :categories, :through => :article_categorizations |
59 | 59 | |
60 | - has_many :article_categorizations_including_virtual, :class_name => 'ArticleCategorization', :dependent => :destroy | |
60 | + has_many :article_categorizations_including_virtual, :class_name => 'ArticleCategorization' | |
61 | 61 | has_many :categories_including_virtual, :through => :article_categorizations_including_virtual, :source => :category |
62 | 62 | |
63 | 63 | acts_as_having_settings :field => :setting | ... | ... |