Redmine/test/exemplars/custom_value_exemplar.rb

8 lines
174 B
Ruby

class CustomValue < ActiveRecord::Base
generator_for :custom_field, :method => :generate_custom_field
def self.generate_custom_field
CustomField.generate!
end
end