@@ -29,6 +29,7 module Redmine | |||||
29 | self.customizable_options = options |
|
29 | self.customizable_options = options | |
30 | has_many :custom_values, lambda {includes(:custom_field).order("#{CustomField.table_name}.position")}, |
|
30 | has_many :custom_values, lambda {includes(:custom_field).order("#{CustomField.table_name}.position")}, | |
31 | :as => :customized, |
|
31 | :as => :customized, | |
|
32 | :inverse_of => :customized, | |||
32 | :dependent => :delete_all, |
|
33 | :dependent => :delete_all, | |
33 | :validate => false |
|
34 | :validate => false | |
34 |
|
35 |
General Comments 0
You need to be logged in to leave comments.
Login now