mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 22:36:02 +01:00
Set inverse on custom_values association.
git-svn-id: http://svn.redmine.org/redmine/trunk@16220 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user