Commit dcfa39ca authored by jplang's avatar jplang

Set inverse on custom_values association.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 248da850
......@@ -29,6 +29,7 @@ module Redmine
self.customizable_options = options
has_many :custom_values, lambda {includes(:custom_field).order("#{CustomField.table_name}.position")},
:as => :customized,
:inverse_of => :customized,
:dependent => :delete_all,
:validate => false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment