discourse/app/models/user_field.rb

5 lines
85 B
Ruby
Raw Normal View History

class UserField < ActiveRecord::Base
validates_presence_of :name, :field_type
end