#2891: version settings are destroyed along with the versions

pull/6827/head
Jens Ulferts 14 years ago
parent fa749fea2e
commit 87d975e0b5
  1. 2
      lib/backlogs_version_patch.rb

@ -7,7 +7,7 @@ module Backlogs
base.send(:include, InstanceMethods) base.send(:include, InstanceMethods)
base.class_eval do base.class_eval do
has_one :version_setting has_one :version_setting, :dependent => :destroy
accepts_nested_attributes_for :version_setting accepts_nested_attributes_for :version_setting
named_scope :displayed_left, lambda { |project| { :include => :version_setting, named_scope :displayed_left, lambda { |project| { :include => :version_setting,

Loading…
Cancel
Save