Redmine/test/exemplars/custom_field_exemplar.rb

6 lines
134 B
Ruby

class CustomField < ActiveRecord::Base
generator_for :name, :start => 'CustomField0'
generator_for :field_format => 'string'
end