Commit 286043f64475d6661e32619c26fcd02869288e6a

Authored by Marcos Pereira
1 parent 0b2e2c3d
Exists in master and in 1 other branch mezuro_spb

Remove double dependent: destroy

src/noosfero-spb/software_communities/lib/software_communities_plugin/software_info.rb
... ... @@ -78,7 +78,7 @@ class SoftwareCommunitiesPlugin::SoftwareInfo < ActiveRecord::Base
78 78 has_many :operating_system_names, :through => :operating_systems, :class_name => 'SoftwareCommunitiesPlugin::OperatingSystemName'
79 79 has_many :categories, :through => :community
80 80  
81   - belongs_to :community, :dependent => :destroy
  81 + belongs_to :community
82 82 belongs_to :license_info, :class_name => 'SoftwareCommunitiesPlugin::LicenseInfo'
83 83  
84 84 validates_length_of :finality, :maximum => 4000
... ...