1
2
3
4
5
6
7
8
9
10
|
class CustomFormsPlugin::Alternative < ApplicationRecord
self.table_name = :custom_forms_plugin_alternatives
validates_presence_of :label
belongs_to :field, :class_name => 'CustomFormsPlugin::Field'
attr_accessible :label, :field, :position, :selected_by_default
end
|